CVE-2025-13151

NameCVE-2025-13151
DescriptionStack-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1125063

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libtasn1-6 (PTS)bullseye4.16.0-2+deb11u1vulnerable
bullseye (security)4.16.0-2+deb11u2vulnerable
bookworm, bookworm (security)4.19.0-2+deb12u1vulnerable
forky, sid, trixie4.20.0-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libtasn1-6sourceexperimental4.21.0-1
libtasn1-6source(unstable)(unfixed)1125063

Notes

[trixie] - libtasn1-6 <no-dsa> (Minor issue)
[bookworm] - libtasn1-6 <no-dsa> (Minor issue)
https://gitlab.com/gnutls/libtasn1/-/merge_requests/121

Search for package or bug name: Reporting problems