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.
References
Configurations
No configuration.
History
17 Jul 2026, 14:17
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
16 Jul 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
16 Jul 2026, 17:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-16 17:16
Updated : 2026-07-17 14:17
NVD link : CVE-2026-13397
Mitre link : CVE-2026-13397
CVE.ORG link : CVE-2026-13397
JSON object : View
Products Affected
No product.
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
