XML::Bare versions through 0.53 for Perl have an unbounded character lookahead
Summary
| CVE | CVE-2026-57074 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-16 17:16:58 UTC |
| Updated | 2026-07-16 20:16:45 UTC |
| Description | XML::Bare versions through 0.53 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. |
Risk And Classification
Primary CVSS: v3.1 9.1 CRITICAL from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS: 0.004030000 probability, percentile 0.326530000 (date 2026-07-20)
Problem Types: CWE-125 | CWE-125 CWE-125 Out-of-bounds Read
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/nanoscopic/perl-XML-Bare/pull/1 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-57074-r1.patch | 9b29abf9-4ab0-4765-b253-1875cd9b441e | security.metacpan.org | |
| www.openwall.com/lists/oss-security/2026/07/16/1 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
Workarounds
CNA: Apply the patch.
There are currently no legacy QID mappings associated with this CVE.