RUSTSEC-2026-0002
LOW`IterMut` violates Stacked Borrows by invalidating internal pointer
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.
This invalidates the shared pointer held by the internal HashMap, violating Stacked Borrows rules.
- Published
- 7 Jan 2026
- Last modified
- 10 Sep 2026
- Weakness
- CWE-476
- Also known as
- GHSA-rhfx-m35p-ff5j
- Sources
- OSV GHSA-rhfx-m35p-ff5jJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | lru | >= 0.9.0, < 0.16.3 | 0.16.3 |
References
- https://github.com/jeromefroe/lru-rs/pull/224 · WEB
- https://github.com/jeromefroe/lru-rs · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0002.html · WEB, ADVISORY
- https://crates.io/crates/lru · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jan 2026)