Bug 2577502 (CVE-2026-126819) - CVE-2026-126819 perl-Convert-ASN1: perl-Convert-ASN1: Denial of Service via zero-length BIT STRING
Summary: CVE-2026-126819 perl-Convert-ASN1: perl-Convert-ASN1: Denial of Service via z...
Keywords:
Status: NEW
Alias: CVE-2026-126819
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:40 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:24 UTC
Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via zero-length BIT STRING content.

A BIT STRING with zero content octets passes -1 to substr as the length. Perl reads a negative length as an offset from the end of the string, so the decoded value is nearly all of the input that follows the element. In the constructed form each zero-length segment copies the rest of the input again, so memory grows with the square of the input size.

An attacker who controls the decoded data can exhaust memory with a short constructed BIT STRING. The resulting value also contains bytes from adjacent input.


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