CPU exhaustion in Convert::ASN1 for Perl via exponent-notation INTEGER
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 let an attacker exhaust CPU time. The encoder passes large values to i2osp without checking that they are integers, so a short exponent-notation string such as 1e8000 expands into a very large integer whose conversion takes quadratic time (CWE-1284, CWE-407). An attacker who controls the encoded INTEGER values needs no privileges and can cause a denial of service with a short string, with high availability impact under CVSS 3.1.
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 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.
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
Update Convert-ASN1 to version 0.37 or later, which fixes the flaw.
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-126682
- 2026-11-20 Alias added: GHSA-9vqq-hrf3-c9hj
- 2026-11-20 CVSS score added · CISA ADP
- 2026-11-20 CISA SSVC decision points changed
References
Sources
- CVE-2026-126682 · CVE Program
- CVE-2026-126682 · NVD
- FIRST EPSS
- GHSA-9vqq-hrf3-c9hj · 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