CVE-2026-126682
Description
Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via exponent-notation string in INTEGER encoding. The encoder routes any value with abs >= 2**31 to i2osp without validating that it is an integer. A string in exponent notation such as "1e8000" passes that threshold. Math::BigInt expands it to an 8001-digit integer, and i2osp's per-octet conversion loop is quadratic in that size. An attacker who controls encoded INTEGER values can exhaust CPU with a short exponent-notation 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/f259213110a90f38cfd1c7e7ff6789178ce9105f.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-126682
- https://security.alpinelinux.org/vuln/CVE-2026-126682
- https://pkgs.alpinelinux.org/packages?name=perl-convert-asn1
- https://www.suse.com/security/cve/CVE-2026-126682.html
CWEs
CWE-407 CWE-1284
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.