CVE-2026-126576
Description
Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unchecked exponent length in binary REAL decoding. Binary REAL decoding never bounds-checks the exponent length against the available content. For a minimal one-byte binary REAL, the exponent byte is read from outside the element, making the mantissa length -1. Perl reads a negative length as an offset from the end of the string, so the mantissa is nearly all of the input that follows the element. The long-form exponent path also omits the extra length octet when sizing the mantissa. An attacker who controls the decoded data can exhaust CPU with a list of such values, as each mantissa loop iterates over the remaining input. The decoded values are also computed from bytes outside each element.
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/6158dbb33cc3d248a95b4ab4948a135e18141b51.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-126576
- https://security.alpinelinux.org/vuln/CVE-2026-126576
- https://pkgs.alpinelinux.org/packages?name=perl-convert-asn1
- https://www.suse.com/security/cve/CVE-2026-126576.html
CWEs
CWE-130 CWE-407
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.