Skip to content
OpenAdvisories
High · 7.5 CVE-2026-13401 EUVD-2026-44964GHSA-8299-xh3w-xhx5

XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes

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

Description

XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes.

The parserc_parse function never advances the attribute-parse state cursor on certain malformed attribute forms, looping forever.

Nameless attributes such as "<a ='c'>" or unbalanced quotes "<a b='''''''c'>" can trigger this condition.

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