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.

References

https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-13397-r1.patch

https://github.com/nanoscopic/perl-HTML-Bare/pull/1

http://www.openwall.com/lists/oss-security/2026/07/16/4

Details

Source: Mitre, NVD

Published: 2026-07-16

Updated: 2026-07-16

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High