CVE-2026-8177
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
- State
- Published
- Severity
- 7.5 High
- Published
- May 10, 2026
- Updated
- Sep 18, 2026
- Reserved
- May 8, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Weaknesses
- CWE-125 Out-of-bounds Read
Affected Products
| Product | Versions |
|---|---|
XML::LibXMLSHLOMIF |
|
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
- RHBZ#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
- https://access.redhat.com/errata/RHSA-2026:68685vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:68693vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:39553vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.