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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.011 (65.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 66th percentile — 65.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.011 · change: -0.000
Affected products
- GNU Libtasn1 — versions 4.20.0
- Gnutls Libtasn1 — versions 0
Weakness classification (CWE)
References
- gitlab.com/gnutls/libtasn1 (Product)
- gitlab.com/gnutls/libtasn1/-/merge_requests/121 (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.