{"schema_version":"1.9.0","id":"GHSA-rhfx-m35p-ff5j","published":"2026-01-07T20:38:57Z","modified":"2026-09-10T03:50:59.064354050Z","aliases":["RUSTSEC-2026-0002"],"summary":"`IterMut` violates Stacked Borrows by invalidating internal pointer","details":"Affected versions of this crate contain a soundness issue in the `IterMut` iterator implementation. The `IterMut::next` and `IterMut::next_back` methods temporarily create an exclusive reference to the key when dereferencing the internal node pointer.\n\nThis invalidates the shared pointer held by the internal `HashMap`, violating Stacked Borrows rules.","affected":[{"package":{"name":"lru","ecosystem":"crates.io","purl":"pkg:cargo/lru"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.9.0"},{"fixed":"0.16.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-rhfx-m35p-ff5j/GHSA-rhfx-m35p-ff5j.json"}}],"references":[{"type":"WEB","url":"https://github.com/jeromefroe/lru-rs/pull/224"},{"type":"PACKAGE","url":"https://github.com/jeromefroe/lru-rs"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2026-0002.html"}],"database_specific":{"cwe_ids":["CWE-476"],"github_reviewed":true,"github_reviewed_at":"2026-01-07T20:38:57Z","nvd_published_at":null,"severity":"LOW"},"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}]}