{"id":"RUSTSEC-2026-0130","aliases":["RUSTSEC-2026-0130"],"related":[],"kind":"vulnerability","state":"published","title":"Out-of-bounds read/write in `Index` and `IndexMut` implementations","summary":"The `Index` and `IndexMut` implementations for `Caja` use unchecked pointer\narithmetic without bounds validation. Creating a `Caja` with a small key and\nthen accessing an out-of-range index causes out-of-bounds reads or writes\nbeyond the allocated memory.\n\nThis can be triggered through safe public APIs — the `[]` indexing operator\non a `Caja` with an out-of-range index — with no `unsafe` required from the\ncaller.","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"The `Index` and `IndexMut` implementations for `Caja` use unchecked pointer\narithmetic without bounds validation. Creating a `Caja` with a small key and\nthen accessing an out-of-range index causes out-of-bounds reads or writes\nbeyond the allocated memory.\n\nThis can be triggered through safe public APIs — the `[]` indexing operator\non a `Caja` with an out-of-range index — with no `unsafe` required from the\ncaller.","format":"markdown","source":"rustsec"}],"published":"2026-05-02T12:00:00.000Z","modified":"2026-05-13T12:45:08.933Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.3.0"}],"ecosystem":"crates.io","package":"caja","purl":"pkg:cargo/caja","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/caja","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0130.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/EmanuelGCC/Caja/issues/1","tags":["report"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0130","url":"https://rustsec.org/advisories/RUSTSEC-2026-0130.html","licence":"CC0-1.0","modified":"2026-05-13T12:45:08.933Z"}],"updatedAt":"2026-11-25T22:56:43.350Z"}