CVE-2026-126956
Description
Convert::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.
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/99a96139a322ba0a5183c7e40a8857f3550daace.patch
- https://github.com/cpan-authors/perl-Convert-ASN1/issues
- https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes
- https://security-tracker.debian.org/tracker/CVE-2026-126956
- https://security.alpinelinux.org/vuln/CVE-2026-126956
- https://pkgs.alpinelinux.org/packages?name=perl-convert-asn1
- https://www.suse.com/security/cve/CVE-2026-126956.html
CWEs
CWE-674
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.