CVE-2026-126576 Affecting perl-convert-asn1 package, versions <0.37-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.53% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-PERLCONVERTASN1-22717520
  • published21 Nov 2026
  • disclosed20 Nov 2026

Introduced: 20 Nov 2026

NewCVE-2026-126576  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 perl-convert-asn1 to version 0.37-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-convert-asn1 package and not the perl-convert-asn1 package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unchecked exponent length in binary REAL decoding.

Binary REAL decoding never bounds-checks the exponent length against the available content. For a minimal one-byte binary REAL, the exponent byte is read from outside the element, making the mantissa length -1. Perl reads a negative length as an offset from the end of the string, so the mantissa is nearly all of the input that follows the element. The long-form exponent path also omits the extra length octet when sizing the mantissa.

An attacker who controls the decoded data can exhaust CPU with a list of such values, as each mantissa loop iterates over the remaining input. The decoded values are also computed from bytes outside each element.