RUSTSEC-2026-0130 Out-of-bounds read/write in `Index` and `IndexMut` implementations

Not scored Published

Out-of-bounds read/write in Caja indexing allows memory corruption and potential code execution via safe public APIs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
Available

What is RUSTSEC-2026-0130?

RUSTSEC-2026-0130 is a memory corruption vulnerability in caja, published on 2 May 2026.

Official description

The Index and IndexMut implementations for Caja use unchecked pointer arithmetic without bounds validation. Creating a Caja with a small key and then accessing an out-of-range index causes out-of-bounds reads or writes beyond the allocated memory.

This can be triggered through safe public APIs — the [] indexing operator on a Caja with an out-of-range index — with no unsafe required from the caller.

Which versions are affected by RUSTSEC-2026-0130?

1 open source package ship an affected version, including caja.

PackageAffectedFixed in
caja crates.ioFrom 0.0.0-00.3.0

How do I fix RUSTSEC-2026-0130?

Upgrade caja to 0.3.0 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is RUSTSEC-2026-0130 being exploited?

There is no known exploitation of RUSTSEC-2026-0130 in the wild and no public exploit code.

Sources

Is RUSTSEC-2026-0130 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free