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
Summary
| CVE | CVE-2026-8177 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-10 21:16:30 UTC |
| Updated | 2026-05-11 02:16:26 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-125 | CWE-125 CWE-125 Out-of-bounds Read
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.openwall.com/lists/oss-security/2026/05/10/8 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| github.com/cpan-authors/XML-LibXML/issues/146 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| github.com/cpan-authors/XML-LibXML/commit/15652bd905a6c9dda59a81b14d4766... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| github.com/cpan-authors/XML-LibXML/pull/149 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-05-08T00:00:00.000Z | Patch submitted in upstream PR. |
Solutions
CNA: Upgrade to a future XML::LibXML release, or apply the upstream patch.
There are currently no legacy QID mappings associated with this CVE.