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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | perl-XML-LibXML | 1:2.0210-4.el10_2.1 | ALSA-2026:39547 |
| AlmaLinux:8 | perl-XML-LibXML | 1:2.0132-3.el8_10 | ALSA-2026:39878 |
| AlmaLinux:9 | perl-XML-LibXML | 1:2.0206-5.el9_8.1 | ALSA-2026:39553 |
| Debian:12 | libxml-libxml-perl | 2.0207+dfsg+really+2.0134-1+deb12u1 | DEBIAN-CVE-2026-8177 |
| Debian:13 | libxml-libxml-perl | 2.0207+dfsg+really+2.0134-5+deb13u1 | DEBIAN-CVE-2026-8177 |
| Debian:14 | libxml-libxml-perl | 2.0207+dfsg+really+2.0134-8 | DEBIAN-CVE-2026-8177 |
| Rocky Linux:10 | perl-XML-LibXML | 1:2.0210-4.el10_2.1 | RLSA-2026:39547 |
| Rocky Linux:8 | perl-XML-LibXML | 1:2.0132-3.el8_10 | RLSA-2026:39878 |
| Rocky Linux:9 | perl-XML-LibXML | 1:2.0206-5.el9_8.1 | RLSA-2026:39553 |
| Ubuntu:22.04:LTS | libxml-libxml-perl | no fix listed | UBUNTU-CVE-2026-8177 |
| Ubuntu:24.04:LTS | libxml-libxml-perl | no fix listed | UBUNTU-CVE-2026-8177 |
| Ubuntu:25.10 | libxml-libxml-perl | no fix listed | UBUNTU-CVE-2026-8177 |
| Ubuntu:26.04:LTS | libxml-libxml-perl | no fix listed | UBUNTU-CVE-2026-8177 |
| Ubuntu:26.10 | libxml-libxml-perl | no fix listed | UBUNTU-CVE-2026-8177 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/cpan-authors/XML-LibXML/issues/146 issue-tracking
- https://github.com/cpan-authors/XML-LibXML/pull/149 issue-tracking
- https://github.com/cpan-authors/XML-LibXML/commit/15652bd905a6c9dda59a81b14d4766adbbae2ea8.patch patch
- 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-8177 vdb-entry, x_refsource_REDHAT
- RHBZ#2468684 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8177.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:68632 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:39547 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:39878 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:68688 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:68685 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:68693 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:39553 vendor-advisory, x_refsource_REDHAT