CVE-2026-13397

High

Description

HTML::Bare versions through 0.04 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. Note that the latest version available on CPAN is version 0.02. Newer versions are available on the git repository.

SeverityHigh
CVSS7.5
Exploit probability—
ProductHTML::Bare
PublishedJul 16, 2026
First seenJul 16, 2026
Weakness typeCWE-835CWE-835

How to fix

Affected products

ProductAffected versionsFixed in
CODECHILD HTML::Barev ≤ 0.04—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-13397 · HTML::Bare · Dark Radar