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 malfo…
Summary
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.
In-depth triage · Auto channel
No in-depth report has been generated yet (DR-003 v2 AI pipeline is under construction).
Lint boundary warnings (1)
The following non-blocking warnings were raised during the lint phase of this triage (e.g. reference URLs not yet on the allowlist). They do not affect entry usability and are disclosed for transparency (see DR-002).
-
REF_URL_NOT_ALLOWLISTEDurl not in allowlist: https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-13397-r1.patch
Sources
- NVD DATABASE
Original Links
- 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
Timeline
- nvd_ingest NVD