Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-13401: CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop') in CODECHILD XML::Bare

0
Medium
VulnerabilityCVE-2026-13401cvecve-2026-13401cwe-835
Published: 07/16/2026 (07/16/2026, 16:14:50 UTC)
Source: CVE Database V5
Vendor/Project: CODECHILD
Product: XML::Bare

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.

Affected software

GitHub Actionsmore threats →cve
XML-Bare
pkg:github/XML-Bare
Affected versions
<=0.53

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 16:49:13 UTC

Technical Analysis

CVE-2026-13401 describes an infinite loop vulnerability (CWE-835) in the XML::Bare Perl module versions up to 0.53. The vulnerability occurs because the parserc_parse function does not advance the attribute-parse state cursor when encountering malformed attributes like nameless attributes (e.g., <a ='c'>) or unbalanced quotes (e.g., <a b='''''''c'>). This causes the parser to loop indefinitely, resulting in a hang condition.

Potential Impact

The vulnerability causes the XML::Bare parser to hang indefinitely when processing certain malformed XML inputs. This can lead to denial of service conditions in applications that rely on this module for XML parsing, as the parser will not recover from the infinite loop without intervention.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid parsing untrusted or malformed XML inputs that could trigger the infinite loop. Consider using alternative XML parsing libraries that do not exhibit this behavior.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-06-26T08:38:33.750Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5907ce68715ace4356ca60

Added to database: 07/16/2026, 16:33:18 UTC

Last enriched: 07/16/2026, 16:49:13 UTC

Last updated: 07/16/2026, 23:03:11 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses