Vulnerability · Published Jul 16, 2026 · Assigned by CPANSec
CVE-2026-57074XML::Bare versions through 0.53 for Perl have an unbounded character lookahead
Critical 9.1
In plain English
A critical-severity out-of-bounds read in XML::Bare from CODECHILD. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libxml-bare-perl | no fix listed | DEBIAN-CVE-2026-57074 |
| Debian:13 | libxml-bare-perl | no fix listed | DEBIAN-CVE-2026-57074 |
| Debian:14 | libxml-bare-perl | 0.53-5 | DEBIAN-CVE-2026-57074 |
| Ubuntu:22.04:LTS | libxml-bare-perl | no fix listed | UBUNTU-CVE-2026-57074 |
| Ubuntu:24.04:LTS | libxml-bare-perl | no fix listed | UBUNTU-CVE-2026-57074 |
| Ubuntu:26.04:LTS | libxml-bare-perl | no fix listed | UBUNTU-CVE-2026-57074 |
| Ubuntu:26.10 | libxml-bare-perl | no fix listed | UBUNTU-CVE-2026-57074 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H