# CVE-2026-57073: HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-07-16T16:15:16.551Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- HTML-Bare: up to 0.04

## References

- <https://github.com/nanoscopic/perl-HTML-Bare/pull/2> (issue-tracking)
- <https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-57073-r1.patch> (patch)
- <https://security.metacpan.org/patches/H/HTML-Bare/0.04/CVE-2026-57073-r2.patch> (patch)
- <http://www.openwall.com/lists/oss-security/2026/07/16/3>

## Sources

- CVE List: [CVE-2026-57073](https://www.cve.org/CVERecord?id=CVE-2026-57073), CVE Terms of Use, modified 2026-07-17
- NVD: [CVE-2026-57073](https://nvd.nist.gov/vuln/detail/CVE-2026-57073), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-57073 · Whole record: https://cve.day/CVE-2026-57073.json · Rebuilt by cve.day 2026-11-25T22:59:28.408Z
