Skip to main content
8 CVEs CVSS 7.5

Convert::ASN1 Perl Resource Exhaustion Flaws

2026-11-20

CVE-2026-131868 HIGH PATCH

Memory exhaustion in Perl's Convert::ASN1 before 0.37 lets remote attackers crash any process that decodes attacker-supplied BER/DER through the streaming functions asn_read or asn_get. A six-byte element header can declare a length approaching 4GB, and the library hands that declared size straight to sysread, so Perl grows the target buffer to the declared length before any data arrives; when the allocation fails, the interpreter aborts with an uncatchable 'Out of memory' error. No authentication or user interaction is required and the trigger is automatable, but EPSS is low (0.16%, 5th percentile), no public exploit or active exploitation has been identified, and the vendor shipped a fix in 0.37.

7.5
CVSS
0.2%
EPSS
CVE-2026-126956 HIGH PATCH

Memory exhaustion in the Perl module Convert::ASN1 before 0.37 lets remote attackers drive a decoding process into unbounded heap growth by supplying a small, deeply nested constructed-form BER element. Every constructed string, SEQUENCE, SET, EXPLICIT tag or untagged CHOICE in the input adds a recursion level, and the decoder checks no depth bound; because Perl recursion is heap-allocated, the process grows until it is killed rather than crashing on a stack overflow. No authentication or user interaction is needed on the vulnerable path (AV:N/AC:L/PR:N/UI:N), but exposure is limited to services that actually feed untrusted ASN.1 - such as LDAP, SNMP or certificate parsing - to decode(); EPSS is low at 0.17% (7th percentile), SSVC records no known exploitation, and no public exploit code was identified at time of analysis, making this a moderate-priority availability issue rather than a critical flaw.

7.5
CVSS
0.2%
EPSS
CVE-2026-126682 HIGH PATCH

CPU exhaustion in Perl's Convert::ASN1 module (versions before 0.37) lets an attacker who controls a value reaching the INTEGER encoder supply a short exponent-notation string such as "1e8000", which Math::BigInt expands into an 8001-digit number and which then drives the i2osp per-octet conversion loop into quadratic work, tying up the encoding process. Exposure is gated by an application-level data flow rather than by default remote reachability: the vendor's own framing is application code forwarding an untrusted integer, such as a search size-limit or paged-results count, into the encoder, so deployments that never encode attacker-influenced INTEGERs are not affected. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N with only availability impact (C:N/I:N/A:H, 7.5), there is no CISA KEV listing, SSVC records exploitation as none, and no public exploit identified at time of analysis; EPSS is 0.21 percent (11th percentile), and the vuln.today decision label places remediation in the this_week bucket rather than an emergency response.

7.5
CVSS
0.2%
EPSS
CVE-2026-126819 HIGH PATCH

Memory exhaustion in the Perl module Convert::ASN1 before 0.37 lets remote attackers crash or stall any application that decodes attacker-supplied ASN.1 data containing a zero-length BIT STRING. Because the decoded length of -1 is passed to substr, Perl interprets it as an offset from the end of the string, so the returned value spans nearly the whole remaining input; in the constructed form (tag 0x23) each empty segment repeats that copy, so memory consumption grows with the square of the input size, and the resulting value can also leak bytes from adjacent input. The flaw is unauthenticated and requires no user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5), but it is not known to be exploited in the wild, EPSS is only 0.17% (7th percentile) and CISA SSVC rates exploitation as none with partial technical impact; the vendor fix is version 0.37. No public exploit code has been identified at time of analysis, though the fix commit ships a regression test that reproduces the quadratic blow-up with 500 zero-length fragments.

7.5
CVSS
0.2%
EPSS
CVE-2026-126576 HIGH PATCH

CPU exhaustion in the Perl module Convert::ASN1 before 0.37 lets remote attackers who can supply ASN.1 data for decoding stall a process by embedding a binary REAL element whose exponent length is never bounds-checked, so the mantissa loop walks nearly the entire remaining input buffer for every such value. The flaw is reachable wherever an application decodes untrusted, externally-supplied ASN.1 with a template that permits the REAL type; per the CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) no authentication or user interaction is needed, but availability is the only impacted property, and applications that only decode trusted internal data are not meaningfully exposed. No public exploit code or active exploitation has been identified at time of analysis (EPSS 0.21%, 11th percentile; SSVC exploitation: none), and the vendor has released Convert::ASN1 0.37 with the fix.

7.5
CVSS
0.2%
EPSS
CVE-2026-126540 HIGH PATCH

CPU exhaustion in Perl's Convert::ASN1 module before 0.37 allows remote attackers who can supply decoded ASN.1/BER data to stall a process with a single oversized INTEGER or ENUMERATED element. Any such value longer than four content octets is routed into the os2ip bigint conversion, which performs O(n^2) bigint multiplications and is bounded by no length limit in vulnerable releases, giving availability-only impact (CVSS 3.1: 7.5, AV:N/AC:L/PR:N/UI:N/A:H). Exploitation is assessed as none by SSVC and EPSS is low at 0.21% (11th percentile), no public exploit code has been identified at time of analysis, and a vendor fix shipping in 0.37 caps decoded integer length.

7.5
CVSS
0.2%
EPSS
CVE-2026-126568 HIGH PATCH

Unbounded memory growth in Convert::ASN1 before 0.37 for Perl allows a remote, unauthenticated sender to exhaust process memory and crash any service that calls asn_recv() on an attacker-reachable socket (CVSS 7.5, availability-only: C:N/I:N/A:H). A single truncated BER header leaves the packet peek loop without a valid exit, so the peek buffer doubles on every MSG_PEEK pass until Perl's realloc fails - a fatal, non-eval-catchable abort. No public exploit has been identified at time of analysis, KEV does not list this issue, and EPSS is low (0.21%, 11th percentile), while SSVC rates it automatable with partial technical impact; severity is entirely availability-related, with no confidentiality or integrity effect.

7.5
CVSS
0.2%
EPSS
CVE-2026-131877 HIGH PATCH

CPU exhaustion in the Perl module Convert::ASN1 (all versions before 0.37) lets remote attackers stall a process by feeding it an OBJECT IDENTIFIER or RELATIVE-OID containing a single oversized arc, either inside decoded ASN.1 data or inside an OID string passed to encode(). Perl's pack/unpack "w*" converts each arc to and from its decimal representation in time quadratic in the arc length, and pre-0.37 releases impose no bound, so a roughly 60,000-byte continuation-byte run or a tens-of-thousands-digit arc burns CPU with one element. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5), and exploitation is confirmed only as a possibility against applications that expose ASN.1 parsing or encoding to untrusted input; no public exploit code has been identified, EPSS is low (0.17%, 7th percentile), and CISA SSVC rates exploitation as none with automatable attack and partial technical impact. Impact is availability only - no code execution, corruption, or data exposure.

7.5
CVSS
0.2%
EPSS

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy