Skip to main content

Convert::ASN1 EUVDEUVD-2026-130802

| CVE-2026-126682 HIGH
Inefficient Algorithmic Complexity (CWE-407)
2026-11-20 CPANSec GHSA-9vqq-hrf3-c9hj
7.5
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted exponent-notation integer value
  2. Delivery
    Application forwards it to Convert::ASN1 INTEGER encoder
  3. Exploit
    Math::BigInt expands string to multi-thousand-digit integer
  4. Execution
    Quadratic i2osp octet loop exhausts CPU
  5. Impact
    Denial of service

Vulnerability Assessment

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

Exploitation requires that the consuming Perl application pass an attacker-controlled value into Convert::ASN1's INTEGER or ENUMERATED encoding path - the vendor explicitly cites forwarding an untrusted integer such as a search size-limit or paged-results count. The trigger is a value routed to i2osp with abs >= 2**31, specifically an exponent-notation string like '1e8000' that the encoder accepts without validating it is an integer, after which Math::BigInt expands it and the quadratic loop runs. The decisive limiting factor is this application-level data flow: installations that never encode untrusted integers are not exposed, so this is not reliably 'remote unauthenticated against default configurations.' In the fixed 0.37 release the encode-side max_int_len cap (default 1025 content bytes) bounds the cost; unpatched versions have no such limit.

Impact

This is a genuine but moderate-priority availability issue, not a high-impact emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) reflects a network-reachable, low-complexity, unauthenticated denial of service with availability-only impact - there is no confidentiality or integrity impact. The signals are consistent and point to lower real-world urgency: EPSS is only 0.21% (11th percentile), the vulnerability is NOT on CISA KEV, SSVC records Exploitation=none and Technical Impact=partial, and no public exploit is referenced. The one signal elevating attention is SSVC Automatable=yes (the quadratic blow-up triggers reliably from a short crafted string) plus a vendor-set 'this_week' priority. The CVSS PR:N implies unauthenticated reachability, but note an important real-world caveat: this is a Perl library flaw, so exploitability depends entirely on whether the consuming application forwards attacker-controlled values into Convert::ASN1's INTEGER/ENUMERATED encoder - the raw CVSS score does not capture that application-level precondition. The input Tag 'Information Disclosure' conflicts with the vector (C:N/I:N/A:H); treat this as CPU-exhaustion DoS, not disclosure.

Exploit ScenarioDerived

A Perl service that uses Convert::ASN1 to encode an attacker-influenced integer (for example an LDAP-style search size-limit or paged-results count, as the vendor patch notes describe) receives a short exponent-notation string such as '1e8000'. Math::BigInt expands it into an ~8001-digit integer and i2osp's per-octet conversion loop runs with quadratic cost, pinning CPU and denying service. No public exploit code is identified at time of analysis, but the primitive is trivially reproducible from the description.

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 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.

RemediationAI

Vendor-released patch: upgrade Convert::ASN1 to version 0.37 from CPAN (release notes at https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes, upstream patch at https://github.com/cpan-authors/perl-Convert-ASN1/commit/f259213110a90f38cfd1c7e7ff6789178ce9105f.patch, coordination advisory at https://seclists.org/oss-sec/2026/q4/797), and where the module is a transitive dependency, pin or bump the dependency constraint and rebuild the application's install set rather than relying on a system-wide package that may lag. The patch delivers two controls: exponent-form and non-integer values are rejected before Math::BigInt expands them, and a new encode-side max_int_len option caps INTEGER/ENUMERATED content bytes at 1025 by default, tunable via $asn->configure(encode => { max_int_len => 4096 }) - but note that setting it to 0 removes the protection entirely, and raising it permits proportionally larger expansions, so only adjust it where an application legitimately encodes larger integers. If upgrading cannot happen immediately, the practical compensating control is to bound and type-check the values that reach the encoder inside the calling application - coerce to Perl integer or Math::BigInt objects, reject exponent notation and strings exceeding an application-defined digit count, and keep those untrusted numerics away from the encode path; the trade-off is that this must be applied and audited at every call site and gives no protection to third-party code you do not control. There is no configuration-only fix inside unpatched releases, because the size limit did not exist before 0.37.

Affected ProductsAI

All releases of the Perl distribution Convert::ASN1 prior to version 0.37 are affected, distributed via CPAN/MetaCPAN under the CPAN author namespace and maintained upstream at github.com/cpan-authors/perl-Convert-ASN1; the fixed release is Convert::ASN1 0.37, documented at https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes. No CPE strings were supplied with the source data, so the affected footprint has to be derived from dependency graphs rather than from a formal CPE match: any Perl application, daemon or framework that embeds Convert::ASN1 and encodes INTEGER or ENUMERATED values influenced by external input (search size-limits, paged-results counts and similar numeric parameters are the vendor's examples) inherits the flaw on its unpatched version. The behaviour is version-scoped rather than configuration-scoped, since no encoder option in releases before 0.37 bounds the expanded integer size.

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

Convert::ASN1 is a pure-Perl library for encoding and decoding ASN.1 structures in BER/DER, used widely for SNMP, LDAP, PKI and telecom plumbing; INTEGER and ENUMERATED values wider than 32 bits are handed to the internal i2osp helper, which converts the numeric value into two's-complement octets one byte at a time. The root cause maps to CWE-407 (inefficient algorithmic complexity): any value with abs >= 231 is routed to i2osp without first confirming it is actually an integer, so a numeric string in exponent notation slips past the perceived size threshold, and the bigint class (Math::BigInt by default) materialises the full decimal expansion before i2osp's per-octet loop processes it, making cost quadratic in the expanded size. The 0.37 fix commit f259213110a90f38cfd1c7e7ff6789178ce9105f adds an is_nan check on blessed bigint objects in lib/Convert/ASN1.pm, and in lib/Convert/ASN1/_encode.pm sizes exponent-form strings using a regex before the bigint class expands them, rejects non-integer input outright, and enforces a new encode-side max_int_len cap (default 1025 content bytes, matching the existing decode-side limit; 0 disables it but is documented as not recommended, and negative values are rejected). The accompanying test file t/24enc_integer_validate.t verifies rejection of non-numeric strings, correct handling of plain and BigInt values, the default cap on a 28200 value, and that "1e100000000" is refused quickly.

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

Availability-only CPU-exhaustion DoS (C:N/I:N/A:H); low complexity once an untrusted value reaches the encoder, network-reachable and unauthenticated at the library boundary, so AV:N/AC:L/PR:N.

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:26 cve.org
HIGH 7.5
CVE Published
Nov 20, 2026 - 00:26 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via exponent-notation string in INTEGER encoding.

The encoder routes any value with abs >= 2**31 to i2osp without validating that it is an integer. A string in exponent notation such as "1e8000" passes that threshold. Math::BigInt expands it to an 8001-digit integer, and i2osp's per-octet conversion loop is quadratic in that size.

An attacker who controls encoded INTEGER values can exhaust CPU with a short exponent-notation string.

Executive ViewAI

Why It Matters

CVE-2026-126682 is a high-severity CPU exhaustion flaw in the Perl Convert::ASN1 module (versions before 0.37) that can be triggered when an application encodes an attacker-controlled integer value. Affected systems may experience service degradation or denial of service, impacting availability of business applications and potentially disrupting transaction processing; leadership should care because public-facing or partner-integrated services that process untrusted input and use this module could be forced offline, causing operational and reputational harm.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
Perl ASN.1 library underpinning LDAP/SNMP tooling; common but not universal footprint
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
High
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