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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to Convert-ASN1 0.37 or later.


Workaround

No workaround given by the vendor.

History

Sat, 21 Nov 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 20 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Fri, 20 Nov 2026 00:30:00 +0000

Type Values Removed Values Added
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.
Title Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding
Weaknesses CWE-674
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-11-20T19:05:38.918Z

Reserved: 2026-11-11T23:54:03.323Z

Link: CVE-2026-126956

cve-icon Vulnrichment

Updated: 2026-11-20T19:05:32.343Z

cve-icon NVD

Status : Received

Published: 2026-11-20T01:17:09.427

Modified: 2026-11-20T19:18:40.913

Link: CVE-2026-126956

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-21T02:30:21Z

Weaknesses