CVE-2026-13401 XML::Bare versions through 0.53 for Perl will hang in an infinite loop when parsing malformed attributes
HighCVSS 7.5
EPSS 0.61%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 2 fixed, 1 partially fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libxml-bare-perl(Debian 12) | = 0.53-2; = 0.53-3; = 0.53-4; = 0.53-5 +1 more | No fix listed | No fix yet |
| ubuntu/libxml-bare-perl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libxml-bare-perl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libxml-bare-perl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libxml-bare-perl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/libxml-bare-perl(Debian 13) | < 0.53-4+deb13u1; = 0.53-4; All versions | 0.53-4+deb13u1 | Partially fixed |
| CODECHILD XML::Bare | <= 0.53 | after 0.53 | Fixed |
| debian/libxml-bare-perl(Debian 14) | < 0.53-5; = 0.53-4 | 0.53-5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| CODECHILD XML::Bare | <= 0.53 | No fix listed |
| ubuntu/libxml-bare-perl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libxml-bare-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libxml-bare-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libxml-bare-perl(Ubuntu:26.10) | All versions | No fix listed |
| debian/libxml-bare-perl(Debian:12) | All versions | No fix listed |
| debian/libxml-bare-perl(Debian:14) | < 0.53-5 | 0.53-5 |
| debian/libxml-bare-perl(Debian:13) | All versions | No fix listed |
| debian/libxml-bare-perl(Debian:12) | = 0.53-2 | No fix listed |
| debian/libxml-bare-perl(Debian:12) | = 0.53-3 | No fix listed |
| debian/libxml-bare-perl(Debian:12) | = 0.53-4 | No fix listed |
| debian/libxml-bare-perl(Debian:12) | = 0.53-5 | No fix listed |
| debian/libxml-bare-perl(Debian:13) | < 0.53-4+deb13u1 | 0.53-4+deb13u1 |
| debian/libxml-bare-perl(Debian:13) | = 0.53-4 | No fix listed |
| debian/libxml-bare-perl(Debian:14) | = 0.53-4 | No fix listed |
References
- github.com issue-tracking
- security.metacpan.org patch
- www.openwall.com
- Debian Security Tracker CVE-2026-13401 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking