CVE-2025-13151
libtasn1: libtasn1: Denial of Service via stack-based buffer overflow in asn1_expend_octet_string
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 8, 2026
Updated · October 15, 2026
Description
A flaw was found in libtasn1. A remote attacker could exploit a stack-based buffer overflow vulnerability in the asn1_expend_octet_string function. This occurs due to a failure in validating the size of input data. Successful exploitation can lead to a Denial of Service (DoS) condition, making the affected system or application unavailable.
Statement
This vulnerability is rated Low for Red Hat products. A stack-based buffer overflow in the libtasn1 library, specifically within the asn1_expend_octet_string function, can be triggered by failing to validate input data size. This could allow a remote, unauthenticated attacker to cause a denial of service in applications utilizing libtasn1.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')