Unrated severityNVD Advisory· Published Jul 16, 2026· Updated Jul 17, 2026
HTML::Bare versions through 0.04 for Perl will hang in an infinite loop when parsing malformed attributes
CVE-2026-13397
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 "" or unbalanced quotes "" 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
2- Range: <=0.04
- Range: <=0.04
Patches
Vulnerability mechanics
References
2- security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-13397-r1.patchmitrepatch
- github.com/nanoscopic/perl-HTML-Bare/pull/1mitreissue-tracking
News mentions
0No linked articles in our index yet.