{"id":"CVE-2026-126956","summary":"Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding","details":"Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding.\n\nAny constructed-form string element causes the decoder to recurse on the element's contents. The BER encoding controls nesting depth at four bytes per level, with no bound checked. Perl recursion is heap-allocated, so the process grows without a stack crash.\n\nAn attacker who controls the decoded data can exhaust memory with a small deeply nested constructed string.","modified":"2026-11-20T02:00:09.196293648Z","published":"2026-11-20T00:29:24.160Z","database_specific":{"cwe_ids":["CWE-674"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126956.json","cna_assigner":"CPANSec"},"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126956.json"},{"type":"PACKAGE","url":"https://github.com/cpan-authors/perl-Convert-ASN1"},{"type":"FIX","url":"https://github.com/cpan-authors/perl-Convert-ASN1/commit/99a96139a322ba0a5183c7e40a8857f3550daace.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-126956"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cpan-authors/perl-convert-asn1","events":[{"introduced":"0"},{"fixed":"698d15b9275281803e7dd6d257f96aae1897b565"},{"fixed":"99a96139a322ba0a5183c7e40a8857f3550daace"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"0.37"}]},{"range":[{"fixed":"99a96139a322ba0a5183c7e40a8857f3550daace"}],"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-126956.json"}}],"schema_version":"1.9.2"}