CVE-2025-13151 Details
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.
A stack-based buffer overflow vulnerability has been identified in libtasn1 version 4.20.0. The issue arises in the asn1_expend_octet_string function, which fails to properly validate the size of input data, leading to the buffer overflow.
Users can update to the latest version of libtasn1 to address this vulnerability. The fixed version is available in the official libtasn1 repository on GitLab.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.kb.cert.org/vuls/id/271649 | CVE | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2026/01/08/5 | CVE | Mailing ListPatch |
| https://gitlab.com/gnutls/libtasn1 | [email protected] | Product |
| https://gitlab.com/gnutls/libtasn1/-/merge_requests/121 | [email protected] | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gnu libtasn1 | 4.20.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Feb 2, 2026 | Initial Analysis | [email protected] |
| Jan 20, 2026 | CVE Modified | CVE |
| Jan 8, 2026 | CVE Modified | CVE |
| Jan 7, 2026 | New CVE Received | [email protected] |
| Jan 7, 2026 | CVE Modified | CISA-ADP |