# CVE-2026-57074: XML::Bare versions through 0.53 for Perl have an unbounded character lookahead

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-07-16T16:15:34.033Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- XML-Bare: up to 0.53

## References

- <https://github.com/nanoscopic/perl-XML-Bare/pull/1> (issue-tracking)
- <https://security.metacpan.org/patches/X/XML-Bare/0.53/CVE-2026-57074-r1.patch> (patch)
- <http://www.openwall.com/lists/oss-security/2026/07/16/1>

## Sources

- CVE List: [CVE-2026-57074](https://www.cve.org/CVERecord?id=CVE-2026-57074), CVE Terms of Use, modified 2026-07-17
- NVD: [CVE-2026-57074](https://nvd.nist.gov/vuln/detail/CVE-2026-57074), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-57074 · Whole record: https://cve.day/CVE-2026-57074.json · Rebuilt by cve.day 2026-11-25T22:59:28.408Z
