CVE-2026-57073 Details
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.
A vulnerability exists in the HTML::Bare Perl library, specifically in versions through 0.04, due to an unbounded character lookahead in the parser's handling of multicharacter strings and element terminators. This flaw allows truncated strings to cause an out-of-bounds read, potentially leading to memory corruption.
Users can apply the patches available in the GitHub pull request #2 or download the patched versions 0.02 or 0.04 from the MetaCPAN patch repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 16, 2026CISA-ADP
Assessed Jul 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nanoscopic/perl-HTML-Bare/pull/2 | CPANSec | Issue TrackingVendor |
| https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-57073-r1.patch | CPANSec | Broken LinkSource CodeVendor |
| https://security.metacpan.org/patches/H/HTML-Bare/0.04/CVE-2026-57073-r2.patch | CPANSec | Broken LinkSource CodeVendor |
| http://www.openwall.com/lists/oss-security/2026/07/16/3 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| HTML::Bare | <= 0.04 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 17, 2026 | CVE Modified | CISA-ADP |
| Jul 16, 2026 | CVE Modified | CVE |
| Jul 16, 2026 | New CVE Received | CPANSec |
Volerion