Vulnerability · Published Jul 16, 2026 · Assigned by CPANSec
CVE-2026-57073HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead
Critical 9.1
In plain English
A critical-severity out-of-bounds read in HTML::Bare from CODECHILD. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| CODECHILD | HTML::Bare | 0 – through 0.04 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H