Skip to main content
VulnerabilityPublished

CVE-2026-126540: Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via quadratic bigint loop in os2ip

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-126540· High

Not known to be exploited : upgrade to 0.37 soon.

Data as of 20 Nov 2026, 04:48 UTC

Severity
High

Rated High by Threat Radar's AI analysis · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 0.37

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.

What to do

Upgrade Convert-ASN1 (Perl module) to 0.37.

Affected software

ProductAffectedFixed in
Convert-ASN1Affected
  • <0.37
Fixed in
  • 0.37
CPANConvert-ASN1pkg:cpan/Convert-ASN1Other threatsAffected
  • <0.37
Fixed in
  • 0.37

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid processing untrusted ASN.1 data with vulnerable versions of Convert::ASN1 or implement external input validation to limit the size of INTEGER or ENUMERATED values before decoding.

Description

Convert::ASN1 versions before 0.37 for Perl contain a vulnerability that allows CPU exhaustion via a quadratic bigint loop in the os2ip function. This occurs when decoding INTEGER or ENUMERATED values longer than four octets, leading to excessive CPU usage due to the algorithm's O(n^2) complexity. An attacker controlling the decoded data can exploit this by providing an oversized value, causing denial of service through resource exhaustion.

References

Community reviews

Loading reviews…