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

Published Nov 20, 2026
·
Updated

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.

Affected Software

1 affected component
cpan/Convert-ASN1<0.37

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.37

Event History

Nov 20, 2026
CVE Published
via MITRE·12:31 AM
Data Sourced
via MITRE·12:31 AM
RemedyDescriptionWeakness
Data Sourced
via OSV·12:31 AM
DescriptionWeakness
Data Sourced
via NVD·01:17 AM
DescriptionWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using Convert::ASN1 before version 0.37 are exposed when they decode attacker-controlled OBJECT IDENTIFIER or RELATIVE-OID data, or when attacker-controlled OID strings can reach the encoding path.

2

What does an attacker need to trigger the CPU exhaustion?

The attacker needs to supply a value containing a single oversized OID arc. This can be delivered in ASN.1 data being decoded or in an OID string provided for encoding.

3

Is this limited to decoding untrusted ASN.1 input?

No. Decoding is affected when the encoded ASN.1 content is attacker-controlled, and encoding is also affected if an attacker can control an OID string passed to the library.

4

How can I determine whether my deployment is affected?

Check whether the application uses Convert::ASN1 and whether its installed version is earlier than 0.37. Then identify code paths that decode untrusted ASN.1 OBJECT IDENTIFIER or RELATIVE-OID elements or encode OID strings influenced by untrusted input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203