CVE-2025-13151: Buffer Overflow

Published Jan 7, 2026
·
Updated

CVE-2025-13151

Other sources

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.

— MITRE

Affected Software

14 affected componentsFixes available
redhat/libtasn1=4.20.0
GNU Libtasn1=4.20.0
IBM Cloud Pak for Data System (Yosemite 1.0)<=11.3.1.2-IF1 - 11.3.1.2-IF2
debian/libtasn1-6<=4.19.0-2+deb12u1
4.21.0-14.20.0-2+deb13u14.21.0-2
All of the following
azurelinux/gnutls<3.7.11-6
3.7.11-6
Microsoft CBL-Mariner=2.0
All of the following
azurelinux/libtasn1<4.19.0-3
4.19.0-3
Microsoft Azure Linux=3.0
All of the following
azurelinux/gnutls<3.8.3-8
3.8.3-8
Microsoft Azure Linux=3.0
All of the following
azurelinux/libtasn1<4.19.0-3
4.19.0-3
Microsoft CBL-Mariner=2.0
All of the following
azurelinux/gnutls<0:3.8.14-1.azl4
0:3.8.14-1.azl4
Microsoft Azure Linux=4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libtasn1-6 to a version that resolves this vulnerability.

    Fixed in 4.21.0-1Fixed in 4.20.0-2+deb13u1Fixed in 4.21.0-2
  2. Upgrade

    Upgrade azurelinux/gnutls to a version that resolves this vulnerability.

    Fixed in 3.7.11-6
  3. Upgrade

    Upgrade azurelinux/libtasn1 to a version that resolves this vulnerability.

    Fixed in 4.19.0-3
  4. Upgrade

    Upgrade azurelinux/gnutls to a version that resolves this vulnerability.

    Fixed in 3.8.3-8
  5. Upgrade

    Upgrade azurelinux/gnutls to a version that resolves this vulnerability.

    Fixed in 0:3.8.14-1.azl4
  6. Upgrade

    Upgrade libtasn1 to a version that resolves this vulnerability.

    Fixed in 4.21.0

Event History

Jan 7, 2026
CVE Published
via MITRE·09:14 PM
Data Sourced
via MITRE·09:14 PM
DescriptionWeakness
Data Sourced
via Red Hat·10:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:15 PM
DescriptionSeverity
Jan 9, 2026
Data Sourced
via Microsoft·09:08 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·09:08 AM
Affected Software
Feb 2, 2026
Data Sourced
via NVD·07:27 PM
RemedyWeaknessAffected Software
Jul 29, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Oct 21, 2026
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

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.

2

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.

3

Which software is affected by CVE-2025-13151?

CVE-2025-13151 affects the libtasn1 library version 4.20.0 within the gnutls project.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203