Buffer overflow in Gnu Libtasn1
CVE-2025-13151
Stack-based buffer overflow in libtasn1 version: v4.20.0. The function fails to validate the size of input data resulting in a buffer overflow in asn1_expend_octet_string.
Vulnerability class: Buffer Overflow
EPSS: 0.011 (62.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Gnu Libtasn1 — versions 4.20.0
- Gnutls Libtasn1 — versions 0
Weakness classification (CWE)
References
- cret@cert.org (Product)
- cret@cert.org (Patch, patch)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Patch)
- af854a3a-2127-422b-91ae-364da2661108 (Third Party Advisory)
Frequently asked questions
- What is CVE-2025-13151?
- CVE-2025-13151 is a high-severity vulnerability in Gnu Libtasn1, classified under Out-of-bounds Write. CVSS score: 7.5/10. Published 2026-01-07.
- How severe is CVE-2025-13151?
- High severity. CVSS v3 base score is 7.5 out of 10.