CVE-2026-126540
CVE-2026-126540 is a high-severity vulnerability with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-407.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (46th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-407
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-126540?
- 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.
- How severe is CVE-2026-126540?
- CVE-2026-126540 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2026-126540 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (46th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2026-126540?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2026-126540 published?
- CVE-2026-126540 was published on 2026-11-20.
References
- https://github.com/cpan-authors/perl-Convert-ASN1/commit/49b362c527e0af05fca9be1e97e4a340d95afa75.patch
- https://github.com/cpan-authors/perl-Convert-ASN1/issues
- https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes
Other CWE-407 vulnerabilities
- CVE-2026-124683 — High (CVSS 8.7): Eclipse Langium versions 3.2.0 through 4.4.0 contain an inefficient algorithmic complexity issue (CWE-407) in the…
- CVE-2026-123792 — High (CVSS 8.7): The Symfony Yaml components Inline and Parser, parse some YAML documents inefficiently, so that a small crafted…
- CVE-2026-113436 — High (CVSS 8.7): Inefficient Algorithmic Complexity vulnerability in the header integer parser of mtrudel bandit allows an…
- CVE-2026-108529 — High (CVSS 8.7): Inefficient Algorithmic Complexity vulnerability in the HTTP/2 implementation of mtrudel bandit allows an…
- CVE-2026-16762 — High (CVSS 8.7): An attacker able to supply a crafted XML document to an application using QXmlStreamReader can cause disproportionate…
- CVE-2026-114143 — High (CVSS 8.7): toml-node is a TOML parser for Node.js and the browser. Prior to 5.0.1, toml.parse() repeatedly slices and rejoins…