Every CVE Search/ Get API key

RUSTSEC-2026-0127

Integer overflow in `array::ReadWrite::new()` leading to potential memory corruption

No score

In array::ReadWrite::new() (line 83 of accessor/src/array.rs), let bytes = mem::size_of::<T>() * len can overflow usize when len is very large. In release mode, this silently wraps, potentially making bytes = 0. The mapper then maps with 0 bytes, and subsequent accesses (e.g. read_volatile_at) lead to undefined behavior or memory corruption.

Note: array::ReadWrite::new() itself is unsafe, so direct triggering requires an unsafe block. However, the integer overflow violates the implicit safety contract expected by callers and can lead to memory corruption downstream.

What each source reports

OSV No score

Integer overflow in `array::ReadWrite::new()` leading to potential memory corruption

In array::ReadWrite::new() (line 83 of accessor/src/array.rs), let bytes = mem::size_of::<T>() * len can overflow usize when len is very large. In release mode, this silently wraps, potentially making bytes = 0. The mapper then maps with 0 bytes, and subsequent accesses (e.g. read_volatile_at) lead to undefined behavior or memory corruption.

Note: array::ReadWrite::new() itself is unsafe, so direct triggering requires an unsafe block. However, the integer overflow violates the implicit safety contract expected by callers and can lead to memory corruption downstream.

Record
RUSTSEC-2026-0127
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
accessor
crates.io
0.0.0-0 and later None known

History

History
RecordedChangedSources
first indexedOSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

RUSTSEC-2026-0127 is a vulnerability with no CVSS score yet in accessor, published May 2, 2026. No source lists public exploit code. No source names a fixed version.

References

MoveEnter Open