Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-57073 EUVD-2026-44965GHSA-682p-jxjc-9j4v

HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead

Published Jul 16, 2026 · Updated Jul 17, 2026 · 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.

Affected products

VendorProductAffectedFixed
CODECHILD HTML::Bare ≤ 0.04 —

References