| Name | CVE-2026-13401 |
| 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. |
| 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; infinite loop on malformed attributes, CPU-pinning DoS)
[bullseye] - libxml-bare-perl <postponed> (Minor issue; infinite loop on malformed attributes, CPU-pinning DoS)
https://lists.security.metacpan.org/cve-announce/msg/41876829/
https://github.com/nanoscopic/perl-XML-Bare/pull/2
https://security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-13401-r1.patch