Vulnerabilities

CVE-2026-6654

Medium 5.1 CVSS 3.1

Description

Double-Free / Use-After-Free (UAF) in the `IntoIter::drop` and `ThinVec::clear` functions in the thin_vec crate. A panic in `ptr::drop_in_place` skips setting the length to zero.

Description as published by the source, in English.

Key facts

Published
2026-04-20
Last modified
2026-10-26
Assigned by
security@mozilla.org
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 7 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Mozilla Thin-vec 0.2.15 Affected

Weakness type

  • CWE-1341: Multiple Releases of Same Resource or Handle

    The product attempts to close or release a resource or handle more than once, without any successful open between the close operations.

  • CWE-415: Double Free

    The product calls free() twice on the same memory address.

  • CWE-416: Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within…

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities