CVE-2025-13151
CVE-2025-13151 is a high-severity vulnerability in Gnu Libtasn1 with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (62nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-206262
- Weakness: CWE-787
- Affected product: Gnu Libtasn1
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2025-13151?
- CVE-2025-13151 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2025-13151 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (62nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-13151?
- CVE-2025-13151 affects Gnu Libtasn1. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-13151?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-13151 have an EU (EUVD) identifier?
- Yes. CVE-2025-13151 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-206262.
- When was CVE-2025-13151 published?
- CVE-2025-13151 was published on 2026-01-07 and last updated on 2026-06-17.
References
- https://gitlab.com/gnutls/libtasn1
- https://gitlab.com/gnutls/libtasn1/-/merge_requests/121
- http://www.openwall.com/lists/oss-security/2026/01/08/5
- https://www.kb.cert.org/vuls/id/271649
Affected products (1)
- cpe:2.3:a:gnu:libtasn1:4.20.0:*:*:*:*:*:*:*
More vulnerabilities in Gnu Libtasn1
- CVE-2015-2806 — Critical (CVSS 10.0): Stack-based buffer overflow in asn1_der_decoding in libtasn1 before 4.4 allows remote attackers to have unspecified…
- CVE-2021-46848 — Critical (CVSS 9.1): GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.
- CVE-2017-6891 — High (CVSS 8.8): Two errors in the "asn1_find_node()" function (lib/parser_aux.c) within GnuTLS libtasn1 version 4.10 can be exploited…
- CVE-2018-6003 — High (CVSS 7.5): An issue was discovered in the _asn1_decode_simple_ber function in decoding.c in GNU Libtasn1 before 4.13. Unlimited…
- CVE-2017-10790 — High (CVSS 7.5): The _asn1_check_identifier function in GNU Libtasn1 through 4.12 causes a NULL pointer dereference and crash when…
- CVE-2014-3468 — High (CVSS 7.5): The asn1_get_bit_der function in GNU Libtasn1 before 3.6 does not properly report an error when a negative bit length…
All CVEs affecting Gnu Libtasn1 →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…