Bug 2501382 (CVE-2026-57074)

Summary: CVE-2026-57074 perl-XML-Bare: perl-XML-Bare: Out-of-bounds read via crafted XML input
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: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in perl-XML-Bare. The `parserc_parse` function, which handles XML parsing, contains an unbounded character lookahead vulnerability. A remote attacker could exploit this by providing a specially crafted, truncated XML string. This could cause the parser to attempt to read data beyond the intended memory buffer, leading to an out-of-bounds read.
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:
Bug Depends On: 2512103, 2512104    
Bug Blocks:    

Description OSIDB Bzimport 2026-07-16 17:01:47 UTC
XML::Bare versions through 0.53 for Perl have an unbounded character lookahead.

The parserc_parse function attempts to check for multicharacter strings such as "<![CDATA" or element terminators such as ">" without checking that the offsets are within the buffer.

Truncated strings such as "<a/" can trigger an out-of-bounds read.