| Name | CVE-2026-57074 |
| Description | 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. |
| Source | CVE (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 Bugs | 1142227 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libxml-bare-perl (PTS) | bullseye | 0.53-1 | vulnerable |
| bookworm | 0.53-2 | vulnerable |
| trixie | 0.53-4 | vulnerable |
| forky, sid | 0.53-5 | fixed |
The information below is based on the following data on fixed versions.
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