CVE-2026-126956

NameCVE-2026-126956
DescriptionConvert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding. Any constructed-form string element causes the decoder to recurse on the element's contents. The BER encoding controls nesting depth at four bytes per level, with no bound checked. Perl recursion is heap-allocated, so the process grows without a stack crash. An attacker who controls the decoded data can exhaust memory with a small deeply nested constructed 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 Bugs1154550

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libconvert-asn1-perl (PTS)bookworm0.33-1vulnerable
forky, sid, trixie0.34-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libconvert-asn1-perlsource(unstable)(unfixed)1154550

Notes

https://lists.security.metacpan.org/cve-announce/msg/45316654/
Fixed by: https://github.com/cpan-authors/perl-Convert-ASN1/commit/99a96139a322ba0a5183c7e40a8857f3550daace (v0.37)

Search for package or bug name: Reporting problems