ALPINE-CVE-2026-126540: High severity alpine/perl-convert-asn1 vulnerability

Published Nov 20, 2026
·
Updated

Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via quadratic bigint loop in os2ip.

Every INTEGER or ENUMERATED longer than four content octets reaches os2ip, which iterates over each content octet with $result = ($result 256) + $octet. Each multiplication operates on a bigint that grows by one octet per step, so decoding an n-octet value takes O(n^2) bigint work. Nothing limits content length before this loop runs.

An attacker who controls the decoded data can exhaust CPU with a single oversized INTEGER or ENUMERATED value.

Affected Software

4 affected componentsFixes available
alpine/perl-convert-asn1<0.37-r0
0.37-r0
alpine/perl-convert-asn1<0.37-r0
0.37-r0
alpine/perl-convert-asn1<0.37-r0
0.37-r0
alpine/perl-convert-asn1<0.37-r0
0.37-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/perl-convert-asn1 to a version that resolves this vulnerability.

    Fixed in 0.37-r0
  2. 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 OSV·01:17 AM
Data Sourced
via OSV·01:17 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using Convert::ASN1 before 0.37 are exposed if they decode ASN.1 data that an attacker can control. A single oversized INTEGER or ENUMERATED value is sufficient to consume CPU.

2

Does exploitation require authentication, user interaction, or a special configuration?

No. The supplied severity vector indicates network-reachable exploitation with low complexity, no privileges, and no user interaction. The issue occurs because content length is not limited before integer conversion.

3

What input triggers the excessive CPU use?

An INTEGER or ENUMERATED ASN.1 value with more than four content octets reaches the vulnerable os2ip conversion loop. Very large values make the bigint arithmetic grow quadratically with input length.

4

How can I mitigate the issue if an update is not immediately available?

Reject or strictly limit the content length of ASN.1 INTEGER and ENUMERATED values before they are decoded by Convert::ASN1. Avoid processing untrusted ASN.1 input where such limits cannot be enforced.

5

How can I determine whether an application is affected?

Check whether it uses alpine/perl-convert-asn1 with a Convert::ASN1 version earlier than 0.37, and whether it decodes attacker-controlled ASN.1 data. Review inputs for INTEGER or ENUMERATED fields that may be supplied without size limits.

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