CVE-2025-13151: Buffer Overflow

Published Jan 7, 2026
·
Updated

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

6 affected componentsFixes available
redhat/libtasn1=4.20.0
GNU Libtasn1=4.20.0
IBM CICS Transaction Gateway for Multiplatforms<=9.1
IBM CICS Transaction Gateway for Multiplatforms<=9.2
IBM CICS Transaction Gateway for Multiplatforms<=9.3
IBM CICS Transaction Gateway for Multiplatforms<=10.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. 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
RemedyDescriptionSeverityWeaknessAffected Software
Jul 29, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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