CVE-2026-57074

NameCVE-2026-57074
DescriptionXML::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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1142227

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxml-bare-perl (PTS)bullseye0.53-1vulnerable
bookworm0.53-2vulnerable
trixie0.53-4vulnerable
forky, sid0.53-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxml-bare-perlsource(unstable)0.53-51142227

Notes

[trixie] - libxml-bare-perl <no-dsa> (Minor issue)
[bookworm] - libxml-bare-perl <postponed> (Minor issue; heap OOB read on truncated XML input)
[bullseye] - libxml-bare-perl <postponed> (Minor issue; heap OOB read on truncated XML input)
https://lists.security.metacpan.org/cve-announce/msg/41876806/
https://github.com/nanoscopic/perl-XML-Bare/pull/1
https://security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-57074-r1.patch

Search for package or bug name: Reporting problems