Skip to content
OpenAdvisories
High · 7.5 CVE-2026-126540 EUVD-2026-130799GHSA-v88r-r6qc-4386

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

Published Nov 20, 2026 · Updated Nov 20, 2026 · Assigned by CPANSec

Description

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 products

VendorProductAffectedFixed
— Convert-ASN1 < 0.37 0.37

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libconvert-asn1-perl 0.37-1 —
Debian 13 libconvert-asn1-perl No fix yet —
Debian 12 libconvert-asn1-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libconvert-asn1-perl No fix yet —
Ubuntu 26.04 LTS libconvert-asn1-perl No fix yet —
Ubuntu 24.04 LTS libconvert-asn1-perl No fix yet —
Ubuntu 22.04 LTS libconvert-asn1-perl No fix yet —
Ubuntu 20.04 LTS libconvert-asn1-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libconvert-asn1-perl No fix yet —
Ubuntu 16.04 LTS libconvert-asn1-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Convert-ASN1 0.370.0-1.1 openSUSE-SU-2026:12746-1
ReleasePackageFixed inAdvisory
Alpine v3.25 perl-convert-asn1 0.37-r0 —
Alpine v3.24 perl-convert-asn1 0.37-r0 —
Alpine v3.23 perl-convert-asn1 0.37-r0 —
Alpine v3.22 perl-convert-asn1 0.37-r0 —
Alpine v3.21 perl-convert-asn1 0.37-r0 —

Advisories 1

References