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.
Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-7954-1 Libtasn1 vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 21 Jan 2026 03:30:00 +0900

Type Values Removed Values Added
References

Fri, 09 Jan 2026 04:30:00 +0900

Type Values Removed Values Added
References

Thu, 08 Jan 2026 21:30:00 +0900

Type Values Removed Values Added
Weaknesses CWE-120
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 08 Jan 2026 19:00:00 +0900

Type Values Removed Values Added
First Time appeared Gnu
Gnu libtasn1
Vendors & Products Gnu
Gnu libtasn1

Thu, 08 Jan 2026 07:15:00 +0900

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 08 Jan 2026 06:30:00 +0900

Type Values Removed Values Added
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.
Title CVE-2025-13151
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published:

Updated: 2026-01-20T17:08:41.712Z

Reserved: 2025-11-13T21:14:53.973Z

Link: CVE-2025-13151

cve-icon Vulnrichment

Updated: 2026-01-20T17:08:41.712Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-01-07T22:15:43.200

Modified: 2026-01-20T18:16:01.827

Link: CVE-2025-13151

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-01-07T21:14:05Z

Links: CVE-2025-13151 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-01-08T18:48:00Z

Weaknesses