CVE-2026-126819
published high CVSS 3.1 · 7.5Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via zero-length BIT STRING content
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 memory exhaustion via zero-length BIT STRING content. A BIT STRING with zero content octets passes -1 to substr as the length. Perl reads a negative length as an offset from the end of the string, so the decoded value is nearly all of the input that follows the element. In the constructed form each zero-length segment copies the rest of the input again, so memory grows with the square of the input size. An attacker who controls the decoded data can exhaust memory with a short constructed BIT STRING. The resulting value also contains bytes from adjacent input.
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-1284 CWE-1284 Improper Validation of Specified Quantity in Input
References
3Provider assertions
2CPANSec · cna
Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via zero-length BIT STRING content
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3c5d9e1fe53f9b54ac8fde8b4d60af823f6f518e70f8ae451ef71e208d4fd07e
- Ingested
- 20 Nov 2026, 19:14:08 UTC
- Source record
- Official CVE record