Read the docs

CPU exhaustion in Convert::ASN1 for Perl via quadratic bigint loop

Priority LOW 39CWE-407Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-407.

Summary

Convert::ASN1 versions before 0.37 for Perl contain an algorithmic complexity flaw in the os2ip routine, which multiplies a growing bigint once per content octet of INTEGER and ENUMERATED values. Decoding an n-octet value therefore costs O(n^2) work, and no length limit applies before the loop runs (CWE-407). An attacker who controls the decoded data can exhaust CPU with a single oversized INTEGER or ENUMERATED value.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00501 35th percentileScored 2026-11-30
Fix Fixed Convert-ASN1: 0.37

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Convert-ASN1before 0.370.37Patch availableCNA
  • Convert-ASN1 Vendor— Affected before 0.37 Fixed in 0.37 Patch available CNA

Remediation

Upgrade Convert-ASN1 to version 0.37.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

  • Fix · CNA Convert-ASN1 Fixed in 0.37

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-126540
  2. 2026-11-20 Alias added: GHSA-v88r-r6qc-4386
  3. 2026-11-20 CVSS score added · CISA ADP
  4. 2026-11-20 CISA SSVC decision points changed

References

Sources