Vulnerability · Published May 10, 2026 · Assigned by CPANSec

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

High 7.5

In plain English

A high-severity out-of-bounds read in XML::LibXML from SHLOMIF. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 48.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10perl-XML-LibXML1:2.0210-4.el10_2.1ALSA-2026:39547
AlmaLinux:8perl-XML-LibXML1:2.0132-3.el8_10ALSA-2026:39878
AlmaLinux:9perl-XML-LibXML1:2.0206-5.el9_8.1ALSA-2026:39553
Debian:12libxml-libxml-perl2.0207+dfsg+really+2.0134-1+deb12u1DEBIAN-CVE-2026-8177
Debian:13libxml-libxml-perl2.0207+dfsg+really+2.0134-5+deb13u1DEBIAN-CVE-2026-8177
Debian:14libxml-libxml-perl2.0207+dfsg+really+2.0134-8DEBIAN-CVE-2026-8177
Rocky Linux:10perl-XML-LibXML1:2.0210-4.el10_2.1RLSA-2026:39547
Rocky Linux:8perl-XML-LibXML1:2.0132-3.el8_10RLSA-2026:39878
Rocky Linux:9perl-XML-LibXML1:2.0206-5.el9_8.1RLSA-2026:39553
Ubuntu:22.04:LTSlibxml-libxml-perlno fix listedUBUNTU-CVE-2026-8177
Ubuntu:24.04:LTSlibxml-libxml-perlno fix listedUBUNTU-CVE-2026-8177
Ubuntu:25.10libxml-libxml-perlno fix listedUBUNTU-CVE-2026-8177
Ubuntu:26.04:LTSlibxml-libxml-perlno fix listedUBUNTU-CVE-2026-8177
Ubuntu:26.10libxml-libxml-perlno fix listedUBUNTU-CVE-2026-8177

Affected products (as reported)

VendorProductVersions
SHLOMIF XML::LibXML 0 – through 2.0210

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References