CVE-2026-57073HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- CODECHILD HTML::Bare: affected: up to 0.04
Workaround: Apply the patch to version 0.02 (from CPAN) or version 0.04 (from the git repository).
Vendor advisories:
- 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)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.