{"id":"CVE-2026-131877","summary":"Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unbounded arc length in OBJECT IDENTIFIER decoding and encoding","details":"Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unbounded arc length in OBJECT IDENTIFIER decoding and encoding.\n\nThe 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.\n\nAn attacker who controls the decoded data, or an OID string passed to encode, can exhaust CPU with a single oversized arc.","modified":"2026-11-20T02:00:10.769698424Z","published":"2026-11-20T00:31:14.529Z","database_specific":{"cwe_ids":["CWE-407"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131877.json","cna_assigner":"CPANSec"},"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131877.json"},{"type":"PACKAGE","url":"https://github.com/cpan-authors/perl-Convert-ASN1"},{"type":"FIX","url":"https://github.com/cpan-authors/perl-Convert-ASN1/commit/805a7ee7d6c01a7dd6e0479fabcaadd7f9116e70.patch"},{"type":"REPORT","url":"https://github.com/cpan-authors/perl-Convert-ASN1/issues"},{"type":"ADVISORY","url":"https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-131877"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cpan-authors/perl-convert-asn1","events":[{"introduced":"0"},{"fixed":"698d15b9275281803e7dd6d257f96aae1897b565"},{"fixed":"805a7ee7d6c01a7dd6e0479fabcaadd7f9116e70"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"0.37"}]},{"range":[{"fixed":"805a7ee7d6c01a7dd6e0479fabcaadd7f9116e70"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v0.36","v0.35","v0.34","v0.33","v0.32","v0.31","v0.30","v0.29","v0.28","v0.27","v0.26","v0.25","v0.24","v0.23","v0.22","v0.18","v0.17","v0.16","v0.15","v0.14","v0.13","v0.12","v0.11"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-131877.json"}}],"schema_version":"1.9.2"}