What’s Vulnerable › Vulnerabilities
CVE-2026-13397: HTML::Bare versions through 0.04 for Perl will hang in an infinite loop when parsing malformed attributes
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-16 · updated 2026-10-24
- Weakness: CWE-835
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.
Affected products
- CODECHILD HTML::Bare: through 0.04
References
- https://github.com/nanoscopic/perl-HTML-Bare/pull/1
- https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-13397-r1.patch
- http://www.openwall.com/lists/oss-security/2026/07/16/4
Get alerted when CVE-2026-13397 or the next vulnerability affects your stack