CVE-2026-131868

NameCVE-2026-131868
DescriptionConvert::ASN1 versions before 0.37 for Perl allow memory exhaustion via a declared element length passed unchecked to sysread in asn_read and asn_get. The length an element declares in its BER header is passed to sysread as the read size. Perl grows the target buffer to that size before reading, so memory is allocated from the declared length, not from the data received. A 6-byte header can declare a length of up to 4GB. A single header makes the reading process allocate the declared size. Where the allocation fails, perl exits with "Out of memory", which eval cannot catch.
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/45316655/
Fixed by: https://github.com/cpan-authors/perl-Convert-ASN1/commit/88bd86b5a3ce3430ebb8b78fe5307f234198bf16 (0.37)

Search for package or bug name: Reporting problems