Read the docs

Memory exhaustion in Convert::ASN1 for Perl via declared element length

Priority LOW 39CWE-789Published · 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-789.

Summary

Convert::ASN1 for Perl, versions before 0.37, uses the length declared in a BER element header as the read size passed to sysread in asn_read and asn_get without checking it. Perl allocates the buffer from that declared length before any data arrives, so a single crafted 6-byte header can make the reading process allocate up to 4GB. An unauthenticated remote attacker can exhaust memory and cause a denial of service, and where allocation fails perl exits with "Out of memory" that eval cannot catch.

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 memory exhaustion via a declared element length passed unchecked to sysread in asn_read and asn_get. The length an element declares in its BER header is passed to sysread as the read size. Perl grows the target buffer to that size before reading, so memory is allocated from the declared length, not from the data received. A 6-byte header can declare a length of up to 4GB. A single header makes the reading process allocate the declared size. Where the allocation fails, perl exits with "Out of memory", which eval cannot catch.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00408 26th 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-131868
  2. 2026-11-20 Alias added: GHSA-9462-3x3w-vr66
  3. 2026-11-20 CVSS score added · CISA ADP
  4. 2026-11-20 CISA SSVC decision points changed

References

Sources