{"id":"CVE-2026-126682","summary":"Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via exponent-notation string in INTEGER encoding","details":"Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via exponent-notation string in INTEGER encoding.\n\nThe encoder routes any value with abs \u003e= 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.\n\nAn attacker who controls encoded INTEGER values can exhaust CPU with a short exponent-notation string.","modified":"2026-11-20T02:00:09.196301592Z","published":"2026-11-20T00:26:35.804Z","database_specific":{"cna_assigner":"CPANSec","cwe_ids":["CWE-1284","CWE-407"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126682.json"},"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126682.json"},{"type":"PACKAGE","url":"https://github.com/cpan-authors/perl-Convert-ASN1"},{"type":"FIX","url":"https://github.com/cpan-authors/perl-Convert-ASN1/commit/f259213110a90f38cfd1c7e7ff6789178ce9105f.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-126682"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cpan-authors/perl-convert-asn1","events":[{"introduced":"0"},{"fixed":"698d15b9275281803e7dd6d257f96aae1897b565"},{"fixed":"f259213110a90f38cfd1c7e7ff6789178ce9105f"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.37"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"f259213110a90f38cfd1c7e7ff6789178ce9105f"}]}]}}],"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-126682.json"}}],"schema_version":"1.9.2"}