RUSTSEC-2026-0130
not scored yetOut-of-bounds read/write in `Index` and `IndexMut` implementations
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.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | caja | >= 0.0.0-0, < 0.3.0 | 0.3.0 |
References
- https://crates.io/crates/caja · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0130.html · ADVISORY
- https://github.com/EmanuelGCC/Caja/issues/1 · REPORT
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 May 2026)