CVE-2026-57073
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.
- Score
- CVSS 3.1 9.1 Critical
- Status
- Deferred - 9b29abf9-4ab0-4765-b253-1875cd9b441e
- Published
- 2026-07-16
- Last modified
- 2026-10-24
- Weaknesses
- CWE-125
Affected products
References
- https://github.com/nanoscopic/perl-HTML-Bare/pull/2
- https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-57073-r1.patch
- https://security.metacpan.org/patches/H/HTML-Bare/0.04/CVE-2026-57073-r2.patch
- http://www.openwall.com/lists/oss-security/2026/07/16/3