CVE-2026-57073

critical

Description

HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead. The parserc_parse function attempts to check for multicharacter strings such as "<![CDATA" or element terminators such as ">" without checking that the offsets are within the buffer. Truncated strings such as "<a/" can trigger an out-of-bounds read. 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.04/CVE-2026-57073-r2.patch

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

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

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

Details

Source: Mitre, NVD

Published: 2026-07-16

Updated: 2026-07-16

Risk Information

CVSS v2

Base Score: 6.4

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

Severity: Medium

CVSS v3

Base Score: 9.1

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

Severity: Critical