{"id":"CVE-2026-126576","aliases":[],"title":"Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unchecked exponent length in binary REAL decoding","originalDescription":"Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unchecked exponent length in binary REAL decoding.\n\nBinary REAL decoding never bounds-checks the exponent length against the available content. For a minimal one-byte binary REAL, the exponent byte is read from outside the element, making the mantissa length -1. Perl reads a negative length as an offset from the end of the string, so the mantissa is nearly all of the input that follows the element. The long-form exponent path also omits the extra length octet when sizing the mantissa.\n\nAn attacker who controls the decoded data can exhaust CPU with a list of such values, as each mantissa loop iterates over the remaining input. The decoded values are also computed from bytes outside each element.","severity":{"cvss":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00501,"percentile":0.44555},"exploitDb":null},"affected":[{"ecosystem":"unknown","name":"Convert-ASN1","range":">=0, <0.37","fixed":"0.37"}],"references":[{"url":"https://github.com/cpan-authors/perl-Convert-ASN1/commit/6158dbb33cc3d248a95b4ab4948a135e18141b51.patch","type":"patch"},{"url":"https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes","type":"release-notes"},{"url":"https://github.com/cpan-authors/perl-Convert-ASN1/issues","type":"issue-tracking"},{"url":"https://cpan.org/modules","type":"web"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126576.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126576","type":"advisory"},{"url":"https://github.com/cpan-authors/perl-Convert-ASN1","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-24T19:35:15.049Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126576","license":"NVD terms of use","firstSeenAt":"2026-11-20T01:34:25.743Z"},{"name":"osv","at":"2026-12-02T12:56:12.800Z","url":"https://osv.dev/vulnerability/CVE-2026-126576","license":"CC-BY 4.0","firstSeenAt":"2026-12-02T12:56:12.800Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:24.746Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-126576","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T00:59:03.211Z"}],"firstSeenAt":"2026-11-20T00:59:03.211Z","publishedAt":"2026-11-20T00:24:54.611Z","modifiedAt":"2026-12-02T12:27:24.776Z"}