# CVE-2026-131877: Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unbounded arc length in OBJECT IDENTIFIER decoding and encoding

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-11-20T00:31:14.529Z
- Modified: 2026-11-24T19:10:01.980Z
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

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

(As written by CVE List.)

## Affected

- Convert-ASN1: before 0.37

## References

- <https://github.com/cpan-authors/perl-Convert-ASN1/commit/805a7ee7d6c01a7dd6e0479fabcaadd7f9116e70.patch> (patch)
- <https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes> (release-notes)
- <https://github.com/cpan-authors/perl-Convert-ASN1/issues> (issue-tracking)

## Sources

- CVE List: [CVE-2026-131877](https://www.cve.org/CVERecord?id=CVE-2026-131877), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-131877](https://nvd.nist.gov/vuln/detail/CVE-2026-131877), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-131877 · Whole record: https://cve.day/CVE-2026-131877.json · Rebuilt by cve.day 2026-11-25T22:59:52.252Z
