RUSTSEC-2026-0130
Not scored
Out-of-bounds read/write in `Index` and `IndexMut` implementations
- Severity
- Not scored
- Published
- Last changed
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| caja (crates.io) | from 0.0.0-0 before 0.3.0 | RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| RustSec Advisory Database | RUSTSEC-2026-0130 changed 2026-05-13 | CC0-1.0 |