CVE-2026-131868
Description
Convert::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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | libconvert-asn1-perl |
Affected | — |
| sid | libconvert-asn1-perl |
Fixed | 0.37-1 |
| forky | libconvert-asn1-perl |
Fixed | 0.37-1 |
| bookworm | libconvert-asn1-perl |
Affected | — |
Alpine Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| v3.24 | perl-convert-asn1 |
Fixed | 0.37-r0 |
| v3.23 | perl-convert-asn1 |
Fixed | 0.37-r0 |
| v3.22 | perl-convert-asn1 |
Fixed | 0.37-r0 |
| v3.21 | perl-convert-asn1 |
Fixed | 0.37-r0 |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
References
- https://github.com/cpan-authors/perl-Convert-ASN1/commit/88bd86b5a3ce3430ebb8b78fe5307f234198bf16.patch
- https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes
- https://security-tracker.debian.org/tracker/CVE-2026-131868
- https://security.alpinelinux.org/vuln/CVE-2026-131868
- https://pkgs.alpinelinux.org/packages?name=perl-convert-asn1
- https://www.suse.com/security/cve/CVE-2026-131868.html
CWEs
CWE-789
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.