lru

A LRU cache implementation

0.19.2Latest, 23 Nov 2026
149MDownloads, last 90 days
0Advisories on the latest
6Advisories, all versions
MITLicence
848Stars
4.5/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Potential use-after-free due to lack of panic safety in `LruCache::pop()` RUSTSEC-2026-0253 Fixed in 0.18.2 12 May 2026
Low `IterMut` violates Stacked Borrows by invalidating internal pointer GHSA-rhfx-m35p-ff5j Fixed in 0.16.3 7 Jan 2026
`IterMut` violates Stacked Borrows by invalidating internal pointer RUSTSEC-2026-0002 Fixed in 0.16.3 7 Jan 2026
High Use after free in lru crate CVE-2021-45720 Fixed in 0.7.1 17 Jun 2022
High Use After Free in lru CVE-2021-45720 Fixed in 0.7.1 7 Jan 2022
Use after free in lru crate CVE-2021-45720 Fixed in 0.7.1 21 Dec 2021

In the news

On Hacker News

Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.