CVEfocus › CVE database › CVE-2025-13151

CVE-2025-13151CVE-2025-13151

CVSS 7.5 HighEPSS 1.4% (higher than 72% of CVEs)Published 2026-01-07Updated 2026-01-20Assigner: certcc

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

31Fixed
11Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10libtasn1-6Fixed4.20.0-2ubuntu0.25.10.1UBUNTU-CVE-2025-13151
Ubuntu 24.04libtasn1-6Fixed4.19.0-3ubuntu0.24.04.2UBUNTU-CVE-2025-13151
Ubuntu 22.04libtasn1-6Fixed4.18.0-4ubuntu0.2UBUNTU-CVE-2025-13151
Ubuntu 20.04libtasn1-6Fix pending4.16.0-2ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-13151
Ubuntu 18.04libtasn1-6Fix pending4.13-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-13151
Ubuntu 16.04libtasn1-6Fix pending4.7-3ubuntu0.16.04.3+esm4 (Ubuntu Pro)UBUNTU-CVE-2025-13151
Ubuntu 14.04libtasn1-6Fix pending3.4-3ubuntu0.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-13151
Debian 14libtasn1-6Fixed4.21.0-2DEBIAN-CVE-2025-13151
Debian 13libtasn1-6Fixed4.20.0-2+deb13u1DEBIAN-CVE-2025-13151
Debian 12libtasn1-6Fix pendingDEBIAN-CVE-2025-13151
Red Hat Enterprise Linux 10libtasn1Fixed0:4.20.0-5.el10_2RHSA-2026:28235
Red Hat Enterprise Linux 10libtasn1-develFixed0:4.20.0-5.el10_2RHSA-2026:28235
Red Hat Enterprise Linux 10libtasn1-toolsFixed0:4.20.0-5.el10_2RHSA-2026:28235
Red Hat Enterprise Linux 9libtasn1Fixed0:4.16.0-10.el9_8RHSA-2026:28253
Red Hat Enterprise Linux 9libtasn1-develFixed0:4.16.0-10.el9_8RHSA-2026:28253
Red Hat Enterprise Linux 9libtasn1-toolsFixed0:4.16.0-10.el9_8RHSA-2026:28253
Red Hat Enterprise Linux 8libtasn1Fixed0:4.13-6.el8_10RHSA-2026:36728
Red Hat Enterprise Linux 8libtasn1-develFixed0:4.13-6.el8_10RHSA-2026:36728
Red Hat Enterprise Linux 8libtasn1-toolsFixed0:4.13-6.el8_10RHSA-2026:36728
Red Hat Enterprise Linux 7libtasn1Fix pending
Fix deferred
Red Hat Enterprise Linux 7libtasn1-develFix pending
Fix deferred
Red Hat Enterprise Linux 7libtasn1-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 6libtasn1Fix pending
Fix deferred
Red Hat Enterprise Linux 6libtasn1-develFix pending
Fix deferred
Red Hat Enterprise Linux 6libtasn1-toolsFix pending
Fix deferred
AlmaLinux 10libtasn1Fixed4.20.0-5.el10_2ALSA-2026:28235
AlmaLinux 10libtasn1-develFixed4.20.0-5.el10_2ALSA-2026:28235
AlmaLinux 10libtasn1-toolsFixed4.20.0-5.el10_2ALSA-2026:28235
AlmaLinux 9libtasn1Fixed4.16.0-10.el9_8ALSA-2026:28253
AlmaLinux 9libtasn1-develFixed4.16.0-10.el9_8ALSA-2026:28253
AlmaLinux 9libtasn1-toolsFixed4.16.0-10.el9_8ALSA-2026:28253
AlmaLinux 8libtasn1Fixed4.13-6.el8_10ALSA-2026:36728
AlmaLinux 8libtasn1-develFixed4.13-6.el8_10ALSA-2026:36728
AlmaLinux 8libtasn1-toolsFixed4.13-6.el8_10ALSA-2026:36728
Rocky Linux 10libtasn1Fixed0:4.20.0-5.el10_2RLSA-2026:28235
Rocky Linux 9libtasn1Fixed0:4.16.0-10.el9_8RLSA-2026:28253
Rocky Linux 8libtasn1Fixed0:4.13-6.el8_10RLSA-2026:36728
Alpine Linux 3.24libtasn1Fixed4.21.0-r0ALPINE-CVE-2025-13151
Alpine Linux 3.23libtasn1Fixed4.21.0-r0ALPINE-CVE-2025-13151
Alpine Linux 3.22libtasn1Fixed4.21.0-r0ALPINE-CVE-2025-13151
Alpine Linux 3.21libtasn1Fixed4.21.0-r0ALPINE-CVE-2025-13151
Alpine Linux 3.20libtasn1Fixed4.21.0-r0ALPINE-CVE-2025-13151

What the vendor says

As published in the CVE record by certcc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.