CVE-2026-13401 Details
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.
A denial-of-service vulnerability has been identified in the XML::Bare Perl library, specifically in versions prior to 0.53. The issue arises when the library's parser encounters malformed attributes, such as nameless attributes or those with unbalanced quotes. In these cases, the parser enters an infinite loop, failing to advance the attribute-parse state cursor, which can lead to application hangs.
Users can upgrade to XML::Bare version 0.54 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 16, 2026CISA-ADP
Assessed Jul 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nanoscopic/perl-XML-Bare/pull/2 | CPANSec | Issue TrackingVendor |
| https://security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-13401-r1.patch | CPANSec | Broken LinkSource CodeVendor |
| http://www.openwall.com/lists/oss-security/2026/07/16/2 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| XML::Bare | <= 0.53 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 17, 2026 | CVE Modified | CISA-ADP |
| Jul 16, 2026 | CVE Modified | CVE |
| Jul 16, 2026 | New CVE Received | CPANSec |
Volerion