Email me

Rust advisories / accessor

UnsoundRUSTSEC-2026-0127 · accessor

RUSTSEC-2026-0127: Integer overflow in `array::ReadWrite::new()` leading to potential memory corruption

Short answeraccessor has an API that can cause undefined behaviour from safe code: Integer overflow in `array::ReadWrite::new()` leading to potential memory corruption. No fixed version yet.

Crateaccessor
TypeUnsound (memory-corruption)
Affected versionsEvery version.
Fixed innone
Severitynot scored
Published2026-05-02
Last changed2026-05-13
Also known asnone

What to do

  1. Find who pulls it in: cargo tree -i accessor.
  2. Avoid the affected API, or replace the crate.

Details from the advisory

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.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Up next

Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ