Skip to main content

Convert::ASN1 EUVDEUVD-2026-130805

| CVE-2026-131877 HIGH
Inefficient Algorithmic Complexity (CWE-407)
2026-11-20 CPANSec GHSA-6ffq-r56j-3cp7
7.5
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send ASN.1 with oversized OID/RELATIVE-OID arc
  2. Exploit
    Arc passed to quadratic unpack "w*" on decode (or pack "w*" on encode)
  3. Execution
    CPU core saturated, worker stalls
  4. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

Triggered when Convert::ASN1 (before 0.37) decodes an OBJECT IDENTIFIER or RELATIVE-OID whose content contains a single very large arc (a long run of high-bit continuation bytes, e.g. ~60,000 bytes), or when an application calls encode on an attacker-controlled OID string with an arc of tens of thousands of decimal digits. The exact prerequisite is that attacker-influenced data reaches a Convert::ASN1 decode() or encode() call - this is default behavior, with no authentication (PR:N) and no user interaction (UI:N) required by the library itself. Limiting factors: exploitability depends entirely on whether the surrounding application exposes ASN.1 parsing/encoding to untrusted input; the pre-0.37 code has no limit, while the fixed version defaults to max_oid_arc_len=32 bytes and is configurable (set to 0 to disable). Impact is confined to CPU/availability - no code execution or data exposure.

Impact

Signals are consistent and point to a real but moderate-priority availability issue rather than a top-tier emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) describes a network-reachable, no-privilege, no-interaction denial of service with pure availability impact - no confidentiality or integrity loss. SSVC agrees: Exploitation=none (no observed or public exploitation), Automatable=yes (a single oversized arc reliably triggers the quadratic blowup, so the trigger can be mass-produced), Technical Impact=partial (CPU exhaustion, not full compromise). EPSS is low at 0.17% (7th percentile) and the vulnerability is NOT on CISA KEV, so there is no evidence of active exploitation - exploitation status is 'no public exploit identified at time of analysis', though the fix commit ships a regression test (t/28oid_arc_limit.t) that reproduces the hang deterministically. The vuln.today decision label is 'this_week', which matches a widely-used library DoS that is easy to trigger but not under active attack. Conflict to flag: the input Tags list 'Information Disclosure', which contradicts the CVSS vector (C:N, I:N, A:H) and the description - this is an availability/CPU-exhaustion flaw, not information disclosure. Net: patch on a normal expedited cadence; this is a genuine issue for Perl services that parse untrusted ASN.1, not a drop-everything event.

Exploit ScenarioDerived

A Perl service that decodes attacker-reachable ASN.1 (for example LDAP, SNMP, PKI/certificate or Kerberos data handled via Convert::ASN1 < 0.37) receives a message containing an OBJECT IDENTIFIER or RELATIVE-OID whose single arc is tens of thousands of continuation bytes long. Perl's unpack "w*" converts that arc in time quadratic to its length, pinning a CPU core and stalling the worker; the encode path is equally affected when an application passes an attacker-controlled OID string to Convert::ASN1->encode. No public weaponized exploit is identified, but the fix commit's test sends a ~60,000-byte arc and confirms the pre-patch hang.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 20, 2026

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.

RemediationAI

Upgrade Convert::ASN1 to version 0.37 or later from CPAN (release TIMLEGGE/Convert-ASN1-0.37), which introduces the max_oid_arc_len bound with a default of 32 encoded bytes and closes the issue for both decode and encode of OBJECT IDENTIFIER and RELATIVE-OID; the same change can be applied directly from commit 805a7ee7d6c01a7dd6e0479fabcaadd7f9116e70.patch, and details are in https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes and https://seclists.org/oss-sec/2026/q4/797. No configuration workaround exists in releases before 0.37, so if an upgrade is temporarily impossible, the only effective controls are application-level: refuse to pass untrusted or unauthenticated data into Convert::ASN1 decode() or encode(), and impose an independent length cap on any OID string built from user input before it reaches the encoder - both trade functionality (rejected or truncated inputs) for safety and must be lifted once patched. On patched systems, verify the default of 32 bytes covers your identifiers (a 128-bit UUID arc needs 19 bytes) and raise it to, for example, 64 only for genuinely longer legitimate arcs, accepting proportionally higher worst-case CPU per element; setting max_oid_arc_len to 0 restores the unbounded, vulnerable behavior and is explicitly not recommended, and negative values are rejected at configure time. If the limit is lowered below the size of arcs your application legitimately processes, expect hard decode/encode errors with "arc too large" messages, and note that because the encode-side check counts decimal digits, arcs close to the byte limit may be refused.

Affected ProductsAI

All releases of the Perl distribution Convert::ASN1 prior to version 0.37 are affected, on any platform running Perl; the module has no other product family or ecosystem variants. No CPE identifiers were supplied with the CVE record, so scoping must be done by module version rather than by platform. The fixed release is Convert::ASN1 0.37 (published on CPAN by TIMLEGGE), documented in the changes file at https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes and fixed by the upstream patch at https://github.com/cpan-authors/perl-Convert-ASN1/commit/805a7ee7d6c01a7dd6e0479fabcaadd7f9116e70.patch. A public oss-security advisory is available at https://seclists.org/oss-sec/2026/q4/797, the upstream issue tracker is https://github.com/cpan-authors/perl-Convert-ASN1/issues, and the CVE record mirrors to ENISA EUVD-2026-130805 and NVD. Because the library is a transitive dependency of many Perl applications (LDAP, PKI, SNMP and certificate-handling code), exposure should be inventoried by checking installed Convert::ASN1 versions rather than by assuming only direct dependents are at risk.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ASN.1 encodes OBJECT IDENTIFIER (tag 0x06) and RELATIVE-OID (tag 0x0D) content as base-128 subidentifiers, where every byte of an arc except the last has its high bit set, so an arc's encoded length is simply the length of the run of 0x80-0xFF bytes preceding the terminating byte. Perl's pack/unpack template "w*" handles these variable-length integers, but its decimal-string conversion is quadratic in arc length, and because ASN.1 places no upper bound on an arc, an attacker-supplied BER element can force an arbitrarily long computation from a single TLV. The flaw is CWE-407 (inefficient algorithm complexity): the root cause is the absent input-size bound in _dec_object_id and _enc_object_id, not a memory-safety bug. The upstream fix (commit 805a7ee, released as Convert::ASN1 0.37) adds a configurable max_oid_arc_len, default 32 encoded bytes (224 bits - enough for a 128-bit UUID arc, which needs 19 bytes), applied to both decode and encode and to both OBJECT IDENTIFIER and RELATIVE-OID; the decode path scans for high-bit continuation runs and errors when a run reaches the limit, while the encode path bounds decimal digits at int(max * 2.107), so arcs within a few bits of the byte limit can be rejected. Negative values are rejected as invalid and 0 disables the limit entirely.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CPANSec) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

A single crafted OID arc in attacker-supplied ASN.1 reliably causes quadratic CPU exhaustion with no auth or interaction; impact is availability-only, so C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Nov 20, 2026 - 19:37 NVD
7.5 (HIGH)
CVE Published
Nov 20, 2026 - 00:31 cve.org
UNKNOWN (no severity yet)
CVE Published
Nov 20, 2026 - 00:31 cve.org
HIGH 7.5

DescriptionCVE.org

Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unbounded arc length in OBJECT IDENTIFIER decoding and encoding.

The content of an OBJECT IDENTIFIER or RELATIVE-OID element is passed to unpack "w*" on decode, and the arcs of an OID string to pack "w*" on encode. Perl converts each arc to or from its decimal string in time quadratic in the arc's length, and nothing limits that length.

An attacker who controls the decoded data, or an OID string passed to encode, can exhaust CPU with a single oversized arc.

Executive ViewAI

Why It Matters

CVE-2026-131877 is a high-severity availability vulnerability in the Perl Convert::ASN1 module that can cause CPU exhaustion, stalling processes that parse or encode untrusted ASN.1 data. Applications relying on this library for certificate handling, LDAP, or other ASN.1-based protocols are at risk of denial-of-service, potentially disrupting business services. With no public exploit identified and low EPSS, immediate exploitation is unlikely, but unpatched exposure to untrusted input remains a concern.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
common Perl ASN.1 library behind LDAP/SNMP/PKI code, not universally deployed
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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