CVE-2026-126682
published high CVSS 3.1 · 7.5Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via exponent-notation string in INTEGER encoding
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Convert-ASN10 to < 0.37 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | perl-convert-asn1 | Fixed | 0.37-r0 | Package fix record |
| Alpine Linux | v3.21 | perl-convert-asn1 | Fixed | 0.37-r0 | Package fix record |
| Alpine Linux | v3.22 | perl-convert-asn1 | Fixed | 0.37-r0 | Package fix record |
| Alpine Linux | v3.23 | perl-convert-asn1 | Fixed | 0.37-r0 | Package fix record |
| Alpine Linux | v3.24 | perl-convert-asn1 | Fixed | 0.37-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Convert-ASN1 | 0 to < 0.37 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-407 CWE-407 Inefficient Algorithmic Complexity
- CWE-1284 CWE-1284 Improper Validation of Specified Quantity in Input
References
3Provider assertions
2CPANSec · cna
Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via exponent-notation string in INTEGER encoding
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 98e8071d4f5a498ed2b707097ea9d00a5d9ce89a6af2ee7b0db8da5d61999737
- Ingested
- 20 Nov 2026, 19:14:08 UTC
- Source record
- Official CVE record