Buffer Overflow Affecting libtasn1-debugsource package, versions <0:4.19.0-1.amzn2023.0.6


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.08% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-LIBTASN1DEBUGSOURCE-15245988
  • published6 Feb 2026
  • disclosed7 Jan 2026

Introduced: 7 Jan 2026

CVE-2025-13151  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libtasn1-debugsource to version 0:4.19.0-1.amzn2023.0.6 or higher.
This issue was patched in ALAS2023-2026-1395.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtasn1-debugsource package and not the libtasn1-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1