Bug 2577502 (CVE-2026-126819)

Summary: CVE-2026-126819 perl-Convert-ASN1: perl-Convert-ASN1: Denial of Service via zero-length BIT STRING
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in perl-Convert-ASN1. An attacker supplying crafted data to be decoded can trigger excessive memory consumption, leading to a Denial of Service (DoS). When processing a constructed BIT STRING element with zero-length content, the decoder improperly calculates data length and repeatedly copies remaining input into memory. This behavior can exhaust system memory with a relatively small payload and may also expose adjacent input data.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.