{"id":"GHSA-rhfx-m35p-ff5j","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.","aliases":["RUSTSEC-2026-0002"],"modified":"2026-09-10T03:50:59.064354050Z","published":"2026-01-07T20:38:57Z","database_specific":{"github_reviewed_at":"2026-01-07T20:38:57Z","nvd_published_at":null,"cwe_ids":["CWE-476"],"severity":"LOW","github_reviewed":true},"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"}],"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"}}],"schema_version":"1.9.0","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"}]}