Every CVESearch/Get API key

DHI-mcq2-slto-zpkj-svoh

`LruCache::pop()` in `lru` was not panic-safe. If the `Drop` implementation of a stored key panics during `pop()`…

No scoreFix available

DHI-mcq2-slto-zpkj-svoh is a vulnerability with no CVSS score yet in lru, published May 12, 2026. No source lists public exploit code. Fixed in lru 0.18.2.

What does this mean?
Severity
UnratedNo CVSS score yet
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
0.18.2lru +36 more

Description

LruCache::pop() in lru was not panic-safe. If the Drop implementation of a stored key panics during pop(), self.detach() is never called, leaving dangling pointers in the internal doubly-linked list.

A subsequent cache operation that triggers eviction can then dereference these dangling pointers:

  • The node is freed from the map, but remains linked in the LRU list due to the skipped detach() call
  • When a new insertion causes eviction, the LRU traversal encounters the dangling pointer
  • This results in a write to already-freed memory during the eviction process

Impact

  • CWE-416 (Use-After-Free): memory corruption when subsequent cache operations access freed node pointers in the linked list
  • CWE-415 (Double Free): potential heap corruption when the same memory is freed multiple times

Both types of undefined behavior can be invoked in safe Rust, but only if unwinding panics are enabled and std::panic::catch_unwind is used with key types that have potentially-panicking Drop implementations.

Fix

Fixed in lru 0.18.2 by detaching the node from the linked list before freeing it and dropping the key (lru-rs#238).

Affected packages

Affected packages
PackageAffectedFixed
gitlab-rails-19
Docker Hardened Images:Alpine:3.24
Listed versions
19.1.8-r019.1.8-r119.4.1-r019.4.1-r119.4.1-r2
Show 16 moreShow less
19.4.1-r319.4.2-r019.5.3-r019.5.3-r119.5.3-r219.5.3-r319.5.3-r419.5.3-r519.5.3-r619.5.3-r719.5.3-r819.5.4-r019.5.4-r119.5.5-r019.5.5-r119.5.5-r2
None known
apollo-mcp-server-1
Docker Hardened Images:Debian:13
Listed versions
1.20.0-11.20.0-21.20.0-31.20.0-4
None known
apollo-mcp-server-2
Docker Hardened Images:Debian:13
Listed versions
2.0.0-02.0.0-12.1.0-02.1.0-12.1.0-2
None known
apollo-mcp-server
Docker Hardened Images:Debian:13
Listed versions
1.17.0-01.18.0-01.19.0-01.20.0-0
None known
datadog-agent-core-7-fips
Docker Hardened Images:Debian:13
Listed versions
7.85.1-07.85.2-07.85.2-17.85.3-07.85.4-0
Show 6 moreShow less
7.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
datadog-agent-core-7
Docker Hardened Images:Debian:13
Listed versions
7.85.1-07.85.2-07.85.2-17.85.3-07.85.4-0
Show 6 moreShow less
7.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
datadog-agent-dev
Docker Hardened Images:Debian:13
Listed versions
7.80.2-07.80.2-17.80.2-107.80.2-117.80.2-12
Show 29 moreShow less
7.80.2-137.80.2-147.80.2-157.80.2-27.80.2-37.80.2-47.80.2-57.80.2-67.80.2-77.80.2-87.80.2-97.84.4-07.84.6-07.84.6-17.84.6-27.85.0-07.85.1-07.85.1-17.85.2-07.85.2-17.85.2-27.85.3-07.85.4-07.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
datadog-agent-fips-dev
Docker Hardened Images:Debian:13
Listed versions
7.80.2-07.80.2-17.80.2-107.80.2-117.80.2-12
Show 28 moreShow less
7.80.2-137.80.2-147.80.2-27.80.2-37.80.2-47.80.2-57.80.2-67.80.2-77.80.2-87.80.2-97.84.4-07.84.6-07.84.6-17.84.6-27.85.0-07.85.1-07.85.1-17.85.2-07.85.2-17.85.2-27.85.3-07.85.4-07.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
datadog-agent-fips
Docker Hardened Images:Debian:13
Listed versions
7.80.2-07.80.2-17.80.2-107.80.2-117.80.2-12
Show 28 moreShow less
7.80.2-137.80.2-147.80.2-27.80.2-37.80.2-47.80.2-57.80.2-67.80.2-77.80.2-87.80.2-97.84.4-07.84.6-07.84.6-17.84.6-27.85.0-07.85.1-07.85.1-17.85.2-07.85.2-17.85.2-27.85.3-07.85.4-07.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
datadog-agent-integrations-7
Docker Hardened Images:Debian:13
Listed versions
7.85.1-07.85.1-17.85.2-07.85.2-17.85.3-0
Show 5 moreShow less
7.85.4-07.85.4-17.85.4-27.85.4-37.85.4-4
None known
Show 27 moreShow less
Affected packages
PackageAffectedFixed
datadog-agent-jmxfetch-7
Docker Hardened Images:Debian:13
Listed versions
0.52.0-00.52.0-10.52.0-20.52.0-30.52.0-40.52.0-5
None known
datadog-agent-process-7-fips
Docker Hardened Images:Debian:13
Listed versions
7.85.1-07.85.2-07.85.2-17.85.3-07.85.4-0
Show 6 moreShow less
7.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
datadog-agent-process-7
Docker Hardened Images:Debian:13
Listed versions
7.85.1-07.85.2-07.85.2-17.85.3-07.85.4-0
Show 6 moreShow less
7.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
datadog-agent-security-7-fips
Docker Hardened Images:Debian:13
Listed versions
7.85.1-07.85.2-07.85.2-17.85.3-07.85.4-0
Show 6 moreShow less
7.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
datadog-agent-security-7
Docker Hardened Images:Debian:13
Listed versions
7.85.1-07.85.2-07.85.2-17.85.3-07.85.4-0
Show 6 moreShow less
7.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
datadog-agent-trace-7-fips
Docker Hardened Images:Debian:13
Listed versions
7.85.1-07.85.2-07.85.2-17.85.3-07.85.4-0
Show 6 moreShow less
7.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
datadog-agent-trace-7
Docker Hardened Images:Debian:13
Listed versions
7.85.1-07.85.2-07.85.2-17.85.3-07.85.4-0
Show 6 moreShow less
7.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
datadog-agent
Docker Hardened Images:Debian:13
Listed versions
7.80.2-07.80.2-17.80.2-107.80.2-117.80.2-12
Show 29 moreShow less
7.80.2-137.80.2-147.80.2-157.80.2-27.80.2-37.80.2-47.80.2-57.80.2-67.80.2-77.80.2-87.80.2-97.84.4-07.84.6-07.84.6-17.84.6-27.85.0-07.85.1-07.85.1-17.85.2-07.85.2-17.85.2-27.85.3-07.85.4-07.85.4-17.85.4-27.85.4-37.85.4-47.85.4-57.85.4-6
None known
gitlab-rails-19
Docker Hardened Images:Debian:13
Listed versions
19.1.8-019.1.8-119.4.1-019.4.1-119.4.1-2
Show 23 moreShow less
19.4.2-019.5.3-019.5.3-119.5.3-219.5.3-319.5.3-419.5.3-519.5.3-619.5.3-719.5.3-819.5.3-919.5.4-019.5.4-119.5.5-019.5.5-119.5.5-219.5.5-319.5.5-419.5.5-519.5.5-619.5.5-719.5.5-819.5.5-9
None known
meilisearch
Docker Hardened Images:Debian:13
Listed versions
1.53.1-01.53.2-01.54.0-01.54.1-01.54.2-0
Show 5 moreShow less
1.54.3-01.55.0-01.56.0-01.56.1-01.56.2-0
None known
milvus-2.6-fips-libs
Docker Hardened Images:Debian:13
Listed versions
2.6.23-12.6.23-22.6.24-12.6.25-02.6.25-1
Show 14 moreShow less
2.6.25-22.6.25-32.6.25-42.6.26-02.6.26-12.6.27-02.6.27-12.6.27-22.6.27-32.6.27-42.6.27-52.6.27-62.6.27-72.6.27-8
None known
milvus-2.6-fips
Docker Hardened Images:Debian:13
Listed versions
2.6.23-12.6.23-22.6.24-12.6.25-02.6.25-1
Show 14 moreShow less
2.6.25-22.6.25-32.6.25-42.6.26-02.6.26-12.6.27-02.6.27-12.6.27-22.6.27-32.6.27-42.6.27-52.6.27-62.6.27-72.6.27-8
None known
milvus-2.6-libs
Docker Hardened Images:Debian:13
Listed versions
2.6.23-12.6.23-22.6.24-12.6.25-02.6.25-1
Show 14 moreShow less
2.6.25-22.6.25-32.6.25-42.6.26-02.6.26-12.6.27-02.6.27-12.6.27-22.6.27-32.6.27-42.6.27-52.6.27-62.6.27-72.6.27-8
None known
milvus-2.6
Docker Hardened Images:Debian:13
Listed versions
2.6.23-12.6.23-22.6.24-12.6.25-02.6.25-1
Show 14 moreShow less
2.6.25-22.6.25-32.6.25-42.6.26-02.6.26-12.6.27-02.6.27-12.6.27-22.6.27-32.6.27-42.6.27-52.6.27-62.6.27-72.6.27-8
None known
milvus-3.0-fips-libs
Docker Hardened Images:Debian:13
Listed versions
3.0.1-13.0.2-03.0.2-13.0.2-23.0.2-3
Show 13 moreShow less
3.0.2-43.0.3-03.0.5-03.0.5-13.0.5-23.0.6-03.0.6-13.0.6-23.0.6-33.0.6-43.0.6-53.0.6-63.0.6-7
None known
milvus-3.0-fips
Docker Hardened Images:Debian:13
Listed versions
3.0.1-13.0.2-03.0.2-13.0.2-23.0.2-3
Show 13 moreShow less
3.0.2-43.0.3-03.0.5-03.0.5-13.0.5-23.0.6-03.0.6-13.0.6-23.0.6-33.0.6-43.0.6-53.0.6-63.0.6-7
None known
milvus-3.0-libs
Docker Hardened Images:Debian:13
Listed versions
3.0.1-13.0.2-03.0.2-13.0.2-23.0.2-3
Show 13 moreShow less
3.0.2-43.0.3-03.0.5-03.0.5-13.0.5-23.0.6-03.0.6-13.0.6-23.0.6-33.0.6-43.0.6-53.0.6-63.0.6-7
None known
milvus-3.0
Docker Hardened Images:Debian:13
Listed versions
3.0.1-13.0.2-03.0.2-13.0.2-23.0.2-3
Show 13 moreShow less
3.0.2-43.0.3-03.0.5-03.0.5-13.0.5-23.0.6-03.0.6-13.0.6-23.0.6-33.0.6-43.0.6-53.0.6-63.0.6-7
None known
mise
Docker Hardened Images:Debian:13
Listed versions
2026.10.0-02026.10.1-02026.10.10-02026.10.12-02026.10.13-0
Show 28 moreShow less
2026.10.14-02026.10.15-02026.10.17-02026.10.18-02026.10.19-02026.10.20-02026.10.21-02026.10.22-02026.10.23-02026.10.24-02026.10.25-02026.10.3-02026.10.4-02026.10.5-02026.10.7-02026.10.8-02026.10.9-02026.11.0-02026.11.1-02026.11.2-02026.11.3-02026.11.4-02026.11.5-02026.11.6-02026.11.7-02026.11.8-02026.9.10-02026.9.18-0
None known
vector
Docker Hardened Images:Debian:13
Listed versions
0.58.0-00.59.0-00.60.0-00.61.0-0
None known
ztunnel-1.29-fips
Docker Hardened Images:Debian:13
Listed versions
1.29.10-01.29.10-11.29.10-21.29.7-01.29.7-11.29.8-01.29.9-01.29.9-1
None known
ztunnel-1.29
Docker Hardened Images:Debian:13
Listed versions
1.29.10-01.29.10-11.29.10-21.29.7-01.29.7-11.29.8-01.29.9-01.29.9-1
None known
ztunnel-1.30-fips
Docker Hardened Images:Debian:13
Listed versions
1.30.4-01.30.4-11.30.5-01.30.6-01.30.6-1
Show 4 moreShow less
1.30.7-01.30.8-01.30.8-11.30.8-2
None known
ztunnel-1.30
Docker Hardened Images:Debian:13
Listed versions
1.30.4-01.30.4-11.30.5-01.30.6-01.30.6-1
Show 4 moreShow less
1.30.7-01.30.8-01.30.8-11.30.8-2
None known
ztunnel-1.31-fips
Docker Hardened Images:Debian:13
Listed versions
1.31.0-01.31.1-01.31.2-01.31.2-11.31.3-01.31.4-01.31.4-11.31.4-2
None known
ztunnel-1.31
Docker Hardened Images:Debian:13
Listed versions
1.31.0-01.31.1-01.31.2-01.31.2-11.31.3-01.31.4-01.31.4-11.31.4-2
None known
lru
crates.io
0.0.0-0 up to 0.18.2
0.18.2

What each source reports

OSVNo score

`LruCache::pop()` in `lru` was not panic-safe. If the `Drop` implementation of a stored key panics during `pop()`…

LruCache::pop() in lru was not panic-safe. If the Drop implementation of a stored key panics during pop(), self.detach() is never called, leaving dangling pointers in the internal doubly-linked list.

A subsequent cache operation that triggers eviction can then dereference these dangling pointers:

  • The node is freed from the map, but remains linked in the LRU list due to the skipped detach() call
  • When a new insertion causes eviction, the LRU traversal encounters the dangling pointer
  • This results in a write to already-freed memory during the eviction process

Impact

  • CWE-416 (Use-After-Free): memory corruption when subsequent cache operations access freed node pointers in the linked list
  • CWE-415 (Double Free): potential heap corruption when the same memory is freed multiple times

Both types of undefined behavior can be invoked in safe Rust, but only if unwinding panics are enabled and std::panic::catch_unwind is used with key types that have potentially-panicking Drop implementations.

Fix

Fixed in lru 0.18.2 by detaching the node from the linked list before freeing it and dropping the key (lru-rs#238).

Record
DHI-mcq2-slto-zpkj-svoh
Updated
2026-11-16
OSVRUSTSEC-2026-0253No score

Potential use-after-free due to lack of panic safety in `LruCache::pop()`

LruCache::pop() in lru was not panic-safe. If the Drop implementation of a stored key panics during pop(), self.detach() is never called, leaving dangling pointers in the internal doubly-linked list.

A subsequent cache operation that triggers eviction can then dereference these dangling pointers:

  • The node is freed from the map, but remains linked in the LRU list due to the skipped detach() call
  • When a new insertion causes eviction, the LRU traversal encounters the dangling pointer
  • This results in a write to already-freed memory during the eviction process

Impact

  • CWE-416 (Use-After-Free): memory corruption when subsequent cache operations access freed node pointers in the linked list
  • CWE-415 (Double Free): potential heap corruption when the same memory is freed multiple times

Both types of undefined behavior can be invoked in safe Rust, but only if unwinding panics are enabled and std::panic::catch_unwind is used with key types that have potentially-panicking Drop implementations.

Fix

Fixed in lru 0.18.2 by detaching the node from the linked list before freeing it and dropping the key (lru-rs#238).

Record
RUSTSEC-2026-0253
Updated
2026-11-02

History

History
RecordedChangedSources
affected, aliases, facts, id, references, titleOSV
first indexedOSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open