CVE-2026-13401
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| CODECHILD | XML::Bare | 0 <= 0.53 | affected |
Weaknesses
- CWE-835: CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
Workarounds
Apply the patch.
ADP Enrichment
CVE Program Container
Additional References
References
- https://github.com/nanoscopic/perl-XML-Bare/pull/2
- https://security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-13401-r1.patch
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.