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

Critical 9.1 Published Updated

An attacker can cause an out-of-bounds read in the HTML::Bare Perl library by providing truncated input, potentially leading to crashes or data exposure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-57073?

CVE-2026-57073 is a critical memory corruption vulnerability in CODECHILD HTML::Bare, published on 16 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-125

Which versions are affected by CVE-2026-57073?

How do I fix CVE-2026-57073?

No fix has been published for CVE-2026-57073 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-57073 being exploited?

There is no known exploitation of CVE-2026-57073 in the wild and no public exploit code.

Sources

Also known as GHSA-682p-jxjc-9j4v.

Is CVE-2026-57073 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free