CVE-2026-126819: Convert::ASN1 - Memory Exhaustion
- Cve: CVE-2026-126819
- Name: Convert::ASN1 - Memory Exhaustion
- 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.
- Impact: Attackers can exhaust memory causing denial of service, and the decoded value may contain bytes from adjacent input leading to information disclosure.
- Remediation: Upgrade to version 0.37 or later.
- Vulnerability impact: denial_of_service, information_disclosure
- Requirements: Attacker must control the decoded data
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00483
- Epss percentile: 0.42199
- Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
- Published at: 2026-11-20T01:17:09Z
- Age in days: 4
- Modified at: 2026-11-20T19:18:40Z
- References total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-126819
- Nvd status: received
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: vulnerability type, requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1284 | Improper Validation of Specified Quantity in Input |
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| cpan-authors/perl-Convert-ASN1 | commit, issues | yes | /v1/repositories/cpan-authors/perl-Convert-ASN1 |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts