CVE-2026-57074
JSON

9.1critical

XML::Bare versions through 0.53 for Perl have an unbounded character lookahead

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.39% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
XML-Bareup to 0.53CVE List

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Las versiones de XML::Bare hasta la 0.53 para Perl tienen una anticipación de caracteres ilimitada. La función parserc_parse intenta verificar cadenas de múltiples caracteres como ’<![CDATA’ o terminadores de elementos como ’>’ sin comprobar que los desplazamientos estén dentro del búfer. Cadenas truncadas como ’<a/’ pueden desencadenar una lectura fuera de límites.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-57074 changed 2026-07-17CVE Terms of Use
NVDCVE-2026-57074 changed 2026-10-24Public domain