Security mailing lists by PureSourceCode

GHSA-rhfx-m35p-ff5j

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
RUSTSEC-2026-0002
Sources
OSVJSONOSV RUSTSEC-2026-0002JSON

Scores

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io lru >= 0.9.0, < 0.16.3 0.16.3

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.