Convert::ASN1 for Perl allows CPU exhaustion via binary REAL decoding
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-407.
Summary
Convert::ASN1 versions before 0.37 for Perl are affected. Binary REAL decoding does not check the exponent length against the available content (CWE-130), so a minimal one-byte binary REAL makes the mantissa length negative and covers nearly all of the input that follows the element. An attacker who controls the decoded data, without privileges, can exhaust CPU by supplying a list of such values, because each mantissa loop iterates over the remaining input.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Convert-ASN1 | before 0.37 | 0.37 | Patch available | CNA |
- Convert-ASN1 Vendor— Affected before 0.37 Fixed in 0.37 Patch available CNA
Remediation
Upgrade Convert-ASN1 to version 0.37 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA Convert-ASN1 Fixed in 0.37
Timeline
- 2026-11-20 Threatist record created from CVE-2026-126576
- 2026-11-20 Alias added: GHSA-6j49-wrh8-crcc
- 2026-11-20 CVSS score added · CISA ADP
- 2026-11-20 CISA SSVC decision points changed
References
Sources
- CVE-2026-126576 · CVE Program
- CVE-2026-126576 · NVD
- FIRST EPSS
- GHSA-6j49-wrh8-crcc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences