CVE-2026-8177
JSON

7.5high

XML::LibXML versions through 2.0210 for Perl read out-of-bounds heap memory when parsing XML node names containing truncated UTF-8 byte sequences

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.65% (higher than 52% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

XML::LibXML versions through 2.0210 for Perl read out-of-bounds heap memory when parsing XML node names containing truncated UTF-8 byte sequences. A node name ending in the middle of a multi byte UTF-8 sequence causes the parser to read past the end of the input string into adjacent heap memory. Any Perl process that passes attacker controlled strings to XML::LibXML's DOM node-name methods can reach this path on the default API. The likely consequence is a crash, causing denial of service.

Affected

Product or packageVersionsReported by
XML-LibXMLup to 2.0210CVE List
perl-XML-LibXMLNot specified
Not affected: from 1:2.0210-4.el10_2.1 before *, from 1:2.0210-4.el10_0.1 before *, from 1:2.0132-3.el8_10 before *, from 1:2.0206-5.el9_8.1 before *, from 1:2.0206-5.el9_2.1 before *, from 1:2.0206-5.el9_4.1 before *
CVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-125

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

What each source says

CVE List

XML::LibXML versions through 2.0210 for Perl read out-of-bounds heap memory when parsing XML node names containing truncated UTF-8 byte sequences. A node name ending in the middle of a multi byte UTF-8 sequence causes the parser to read past the end of the input string into adjacent heap memory. Any Perl process that passes attacker controlled strings to XML::LibXML's DOM node-name methods can reach this path on the default API. The likely consequence is a crash, causing denial of service.

NVD (es)

Las versiones de XML::LibXML hasta la 2.0210 para Perl leen memoria del heap fuera de límites al analizar nombres de nodos XML que contienen secuencias de bytes UTF-8 truncadas. Un nombre de nodo que termina en medio de una secuencia UTF-8 multibyte hace que el analizador lea más allá del final de la cadena de entrada hacia la memoria del heap adyacente. Cualquier proceso Perl que pasa cadenas controladas por el atacante a los métodos de nombre de nodo DOM de XML::LibXML puede alcanzar esta ruta en la API predeterminada. La consecuencia probable es un fallo, causando denegación de servicio.

References

https://github.com/cpan-authors/XML-LibXML/issues/146issue-tracking
https://github.com/cpan-authors/XML-LibXML/pull/149issue-tracking
https://github.com/cpan-authors/XML-LibXML/commit/15652bd905a6c9dda59a81b14d4766adbbae2ea8.patchpatch
http://www.openwall.com/lists/oss-security/2026/05/10/8
http://www.openwall.com/lists/oss-security/2026/05/11/2
https://access.redhat.com/security/cve/CVE-2026-8177vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2468684issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8177.json
https://access.redhat.com/errata/RHSA-2026:68632vendor-advisory
https://access.redhat.com/errata/RHSA-2026:39547vendor-advisory
https://access.redhat.com/errata/RHSA-2026:39878vendor-advisory
https://access.redhat.com/errata/RHSA-2026:68688vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-8177 changed 2026-09-18CVE Terms of Use
NVDCVE-2026-8177 changed 2026-09-18Public domain