CVE Explorer
CVE-2026-13401
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"XML-Bare","product":"XML::Bare","programFiles":["parser.c"],"programRoutines":[{"name":"parserc_parse"}],"repo":"https://github.com/nanoscopic/perl-XML-Bare","vendor":"CODECHILD","versions":[{"lessThanOrEqual":"0.53","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:7c4d696b96ab35ea45af909376716eff8a35b75d64ec026df2a6d2a8c1b1093e · sha256:a133ada66987cc3f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:7c4d696b96ab35ea45af909376716eff8a35b75d64ec026df2a6d2a8c1b1093e · sha256:a133ada66987cc3f… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-835","description":"CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7c4d696b96ab35ea45af909376716eff8a35b75d64ec026df2a6d2a8c1b1093e · sha256:a133ada66987cc3f… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/07/16/2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7c4d696b96ab35ea45af909376716eff8a35b75d64ec026df2a6d2a8c1b1093e · sha256:a133ada66987cc3f… · /containers/adp/0/references/0
{"tags":["issue-tracking"],"url":"https://github.com/nanoscopic/perl-XML-Bare/pull/2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7c4d696b96ab35ea45af909376716eff8a35b75d64ec026df2a6d2a8c1b1093e · sha256:a133ada66987cc3f… · /containers/cna/references/0
{"tags":["patch"],"url":"https://security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-13401-r1.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7c4d696b96ab35ea45af909376716eff8a35b75d64ec026df2a6d2a8c1b1093e · sha256:a133ada66987cc3f… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.