Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-57074 EUVD-2026-44966GHSA-xm8x-vw7j-573w

XML::Bare versions through 0.53 for Perl have an unbounded character lookahead

Published Jul 16, 2026 · Updated Jul 17, 2026 · Assigned by CPANSec

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 products

VendorProductAffectedFixed
CODECHILD XML::Bare ≤ 0.53 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxml-bare-perl 0.53-5 —
Debian 13 libxml-bare-perl No fix yet —
Debian 12 libxml-bare-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libxml-bare-perl No fix yet —
Ubuntu 26.04 LTS libxml-bare-perl No fix yet —
Ubuntu 24.04 LTS libxml-bare-perl No fix yet —
Ubuntu 22.04 LTS libxml-bare-perl No fix yet —
Ubuntu 20.04 LTS libxml-bare-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libxml-bare-perl No fix yet —
Ubuntu 16.04 LTS libxml-bare-perl No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 perl-XML-Bare 0.53-150000.3.3.1 SUSE-SU-2026:3403-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-XML-Bare 0.53-7.1 openSUSE-SU-2026:11351-1
openSUSE Leap 16.0 perl-XML-Bare 0.53-bp160.2.1 openSUSE-SU-2026:21435-1

Advisories 3

References