cve.bz

CVE-2025-13151 gnu libtasn1: Out-of-bounds Write

7.5 highEPSS 1.4%Fix available

High (7.5) in gnu libtasn1. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-01-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-13151 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-13151?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-13151?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-13151 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
GnuTLS libtasn1through 4.20.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libtasn1-6no fix listedDEBIAN-CVE-2025-13151
Debian13libtasn1-64.20.0-2+deb13u1DEBIAN-CVE-2025-13151
Debian14libtasn1-64.21.0-2DEBIAN-CVE-2025-13151
Ubuntu22.04:LTSlibtasn1-64.18.0-4ubuntu0.2UBUNTU-CVE-2025-13151 USN-7954-1
Ubuntu24.04:LTSlibtasn1-64.19.0-3ubuntu0.24.04.2UBUNTU-CVE-2025-13151 USN-7954-1
Ubuntu25.10libtasn1-64.20.0-2ubuntu0.25.10.1UBUNTU-CVE-2025-13151 USN-7954-1
UbuntuPro:14.04:LTSlibtasn1-63.4-3ubuntu0.6+esm1UBUNTU-CVE-2025-13151
UbuntuPro:16.04:LTSlibtasn1-64.7-3ubuntu0.16.04.3+esm4UBUNTU-CVE-2025-13151
UbuntuPro:18.04:LTSlibtasn1-64.13-2ubuntu0.1~esm1UBUNTU-CVE-2025-13151
UbuntuPro:20.04:LTSlibtasn1-64.16.0-2ubuntu0.1+esm1UBUNTU-CVE-2025-13151
Red Hatenterprise_linux:8::appstreamlibtasn1-devel, libtasn1-tools, libtasn1-debuginfo and 2 more0:4.13-6.el8_10RHSA-2026:36728
Red Hatenterprise_linux:8::baseoslibtasn1, libtasn1-debuginfo, libtasn1-debugsource and 1 more0:4.13-6.el8_10RHSA-2026:36728
Red Hatenterprise_linux:9::appstreamlibtasn1-devel, libtasn1-tools, libtasn1-debuginfo and 2 more0:4.16.0-10.el9_8RHSA-2026:28253
Red Hatenterprise_linux:9::baseoslibtasn1, libtasn1-debuginfo, libtasn1-debugsource and 1 more0:4.16.0-10.el9_8RHSA-2026:28253
Red Hatenterprise_linux:10.2libtasn1, libtasn1-devel, libtasn1-tools and 3 more0:4.20.0-5.el10_2RHSA-2026:28235
Red Hathummingbird:1libtasn1, libtasn1-devel, libtasn1-tools0:4.21.0-1.1.hum1RHSA-2026:7500
SUSELinux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 2 morelibtasn14.13-150000.4.14.1SUSE-SU-2026:0224-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0libtasn14.21.0-160000.1.1SUSE-SU-2026:21142-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5libtasn14.9-3.19.1SUSE-SU-2026:0118-1
SUSELinux Micro 6.0libtasn14.19.0-5.1SUSE-SU-2026:20051-1
SUSELinux Micro 6.1libtasn14.19.0-slfo.1.1_3.1SUSE-SU-2026:20355-1
SUSELinux Micro 6.2libtasn14.21.0-160000.1.1SUSE-SU-2026:21001-1
openSUSELeap 15.6libtasn14.13-150000.4.14.1SUSE-SU-2026:0224-1
openSUSELeap 16.0libtasn14.21.0-160000.1.1openSUSE-SU-2026:20470-1
openSUSETumbleweedlibtasn14.21.0-1.1openSUSE-SU-2026:10033-1
AlmaLinux8libtasn1, libtasn1-devel, libtasn1-tools4.13-6.el8_10ALSA-2026:36728
AlmaLinux9libtasn1, libtasn1-devel, libtasn1-tools4.16.0-10.el9_8ALSA-2026:28253
AlmaLinux10libtasn1, libtasn1-devel, libtasn1-tools4.20.0-5.el10_2ALSA-2026:28235
Rocky Linux8libtasn10:4.13-6.el8_10RLSA-2026:36728
Rocky Linux9libtasn10:4.16.0-10.el9_8RLSA-2026:28253
Rocky Linux10libtasn10:4.20.0-5.el10_2RLSA-2026:28235
Alpinev3.20, v3.21, v3.22 and 2 morelibtasn14.21.0-r0ALPINE-CVE-2025-13151
Azure Linux2gnutls3.7.11-6AZL-74046
Azure Linux2libtasn14.19.0-3AZL-74070
Azure Linux3gnutls3.8.3-8AZL-74006
Azure Linux3libtasn14.19.0-3AZL-73664
Alpaquita25, streamlibtasn14.21.0-r0BELL-CVE-2025-13151

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is rated Low for Red Hat products. A stack-based buffer overflow in the `libtasn1` library, specifically within the `asn1_expend_octet_string` function, can be triggered by failing to validate input data size. This could allow a remote, unauthenticated attacker to cause a denial of service in applications utilizing `libtasn1`.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libtasn1-0:4.20.0-5.el10_2Fixed 2026-06-23RHSA-2026:28235
Red Hat Enterprise Linux 8libtasn1-0:4.13-6.el8_10Fixed 2026-07-08RHSA-2026:36728
Red Hat Enterprise Linux 9libtasn1-0:4.16.0-10.el9_8Fixed 2026-06-23RHSA-2026:28253
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791371080Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-rhel9:1791371069Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-rhel9:1791788287Fixed 2026-10-13RHSA-2026:82322
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-bundle:1791970484Fixed 2026-10-14RHSA-2026:82888
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707Fixed 2026-10-13RHSA-2026:82347
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-rhel9:1791459711Fixed 2026-10-13RHSA-2026:82347
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-istio-csr-rhel9:1791459759Fixed 2026-10-13RHSA-2026:82354
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-operator-rhel9:1789029076Fixed 2026-10-13RHSA-2026:82372
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-operator-bundle:1791966259Fixed 2026-10-14RHSA-2026:82857
Cert Manager support for Red Hat OpenShift release 1.20cert-manager/cert-manager-trust-manager-rhel9:1790598593Fixed 2026-09-28RHSA-2026:72502
Red Hat Discovery 2discovery/discovery-server-rhel9:1782763840Fixed 2026-06-29RHSA-2026:33313
Red Hat Discovery 2discovery/discovery-ui-rhel9:1782756541Fixed 2026-06-29RHSA-2026:33313
Red Hat Hardened Imageslibtasn1-main-4.21.0-1.1.hum1Fixed 2026-04-10RHSA-2026:7500
Red Hat Enterprise Linux 6libtasn1Fix deferred
Red Hat Enterprise Linux 7libtasn1Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-13151.

References

Check your stackJSON