CVE-2025-13151: Buffer Overflow
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 asn1expendoctetstring.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
libtasn1to a version that resolves this vulnerability.Fixed in 4.21.0
Event History
Frequently Asked Questions
What is the severity of CVE-2025-13151?
CVE-2025-13151 has a high severity due to the potential for a stack-based buffer overflow which can lead to code execution.
How do I fix CVE-2025-13151?
To fix CVE-2025-13151, update to the latest version of libtasn1 that includes the security patch addressing the buffer overflow.
Which software is affected by CVE-2025-13151?
CVE-2025-13151 affects the libtasn1 library version 4.20.0 within the gnutls project.
What is a stack-based buffer overflow related to CVE-2025-13151?
A stack-based buffer overflow in CVE-2025-13151 occurs when the function fails to validate the input size, allowing excess data to overwrite adjacent memory.
What impact can CVE-2025-13151 have on systems?
CVE-2025-13151 can lead to remote code execution, data corruption, or denial of service if successfully exploited.