Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unbounded arc length in OBJECT IDENTIFIER decoding and encoding
Summary
| CVE | CVE-2026-131877 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-20 01:17:09 UTC |
| Updated | 2026-11-20 01:17:09 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-407 | CWE-407 CWE-407 Inefficient Algorithmic Complexity
There are no known software configurations currently associated with this CVE in NVD or the CVE Program record.
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/cpan-authors/perl-Convert-ASN1/commit/805a7ee7d6c01a7dd6e0479... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| github.com/cpan-authors/perl-Convert-ASN1/issues | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
Solutions
CNA: Upgrade to Convert-ASN1 0.37 or later.
There are currently no legacy QID mappings associated with this CVE.