{"id":"GHSA-rhfx-m35p-ff5j","revision":"2e9fdef4ea074371a8619c6f0c5cc254","records":[{"revision":"2e9fdef4ea074371a8619c6f0c5cc254","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-rhfx-m35p-ff5j","aliases":["RUSTSEC-2026-0002"],"title":"`IterMut` violates Stacked Borrows by invalidating internal pointer","description":"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.","state":0,"publishedAt":"2026-01-07T20:38:57+00:00","modifiedAt":"2026-09-10T03:50:59.0643541+00:00","affected":[{"ecosystem":"crates.io","name":"lru","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.9.0"},{"kind":"fixed","version":"0.16.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/jeromefroe/lru-rs/pull/224","https://github.com/jeromefroe/lru-rs","https://rustsec.org/advisories/RUSTSEC-2026-0002.html"],"sourceUrl":"https://github.com/advisories/GHSA-rhfx-m35p-ff5j","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rhfx-m35p-ff5j","identifiers":["GHSA-rhfx-m35p-ff5j","RUSTSEC-2026-0002"]},"retained":false,"historicalAffected":[]}],"coverage":[]}