CVE-2026-126540: Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via quadratic bigint loop in os2ip
Source GCVE Database
Not known to be exploited : upgrade to 0.37 soon.
Data as of 20 Nov 2026, 04:48 UTC
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
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Convert-ASN1 | Affected
| Fixed in
|
CPANConvert-ASN1pkg:cpan/Convert-ASN1Other threats | Affected
| Fixed in
|
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
- nvd.nist.gov/vuln/detail/CVE-2026-126540 (opens in a new tab)
- github.com/cpan-authors/perl-Convert-ASN1/commit/49b362c527e0af05fca9be1e97e4a340d95afa75.patch (opens in a new tab)
- github.com/cpan-authors/perl-Convert-ASN1/issues (opens in a new tab)
- metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes (opens in a new tab)