CPANSA-Convert-ASN1-2026-131877: Convert-ASN1 vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-11-20T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-11-20T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score 7.5 Severity High
Original language Language en
Also referred to

Vulnerability Description

Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unbounded arc length in OBJECT IDENTIFIER decoding and encoding.

The content of an OBJECT IDENTIFIER or RELATIVE-OID element is passed to unpack "w*" on decode, and the arcs of an OID string to pack "w*" on encode. Perl converts each arc to or from its decimal string in time quadratic in the arc's length, and nothing limits that length.

An attacker who controls the decoded data, or an OID string passed to encode, can exhaust CPU with a single oversized arc.

Vulnerabilities

CVE-2026-131877

Vulnerability Description

Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unbounded arc length in OBJECT IDENTIFIER decoding and encoding.

The content of an OBJECT IDENTIFIER or RELATIVE-OID element is passed to unpack "w*" on decode, and the arcs of an OID string to pack "w*" on encode. Perl converts each arc to or from its decimal string in time quadratic in the arc's length, and nothing limits that length.

An attacker who controls the decoded data, or an OID string passed to encode, can exhaust CPU with a single oversized arc.

Weakness CWE-407 : Inefficient Algorithmic Complexity

Product status

Known affected
Product Score
Convert-ASN1 less than 0.37
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 High
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Fri Nov 20 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/