Bug 2577508 (CVE-2026-126540) - CVE-2026-126540 perl-convert-asn1: perl-convert-asn1: Denial of Service via oversized integer decoding
Summary: CVE-2026-126540 perl-convert-asn1: perl-convert-asn1: Denial of Service via o...
Keywords:
Status: NEW
Alias: CVE-2026-126540
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-20 00:31 UTC by OSIDB Bzimport
Modified: 2026-11-20 00:44 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-20 00:31:45 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.