CVE-2026-126956
Public on 2026-11-20
Modified on 2026-11-20
Description
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.
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.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Core | perl | Not Affected | ||
| Amazon Linux 2023 | perl | Not Affected | ||
| Amazon Linux 2027 Preview | perl | Not Affected | ||
| Amazon Linux 2 - Core | perl-Convert-ASN1 | Pending Fix | ||
| Amazon Linux 2023 | perl-Convert-ASN1 | Pending Fix | ||
| Amazon Linux 2027 Preview | perl-Convert-ASN1 | Pending Fix |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |