CVE-2026-126956
Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding
- Severity
- high CVSS 7.5 (v3.1)
- Weakness
- CWE-674 Uncontrolled Recursion
- Published
- 20 November 2026 by CPANSec
- First seen on our lists
- 20 November 2026
Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding.
Any 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.
An attacker who controls the decoded data can exhaust memory with a small deeply nested constructed string.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] Convert-ASN1 versions before 0.37 for Perl (8 CVEs)