CVE-2026-126540
published high CVSS 3.1 · 7.5Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via quadratic bigint loop in os2ip
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 | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | 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 quadratic bigint loop in os2ip. Every INTEGER or ENUMERATED longer than four content octets reaches os2ip, which iterates over each content octet with $result = ($result * 256) + $octet. Each multiplication operates on a bigint that grows by one octet per step, so decoding an n-octet value takes O(n^2) bigint work. Nothing limits content length before this loop runs. An attacker who controls the decoded data can exhaust CPU with a single oversized INTEGER or ENUMERATED value.
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
1- CWE-407 CWE-407 Inefficient Algorithmic Complexity
References
3Provider assertions
2CPANSec · cna
Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via quadratic bigint loop in os2ip
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 916940fdf852530d511f39cfc8e975d95e415448937ef7fb36430eb1880f3ef3
- Ingested
- 20 Nov 2026, 18:58:50 UTC
- Source record
- Official CVE record