CPANSA-XML-LibXML-2026-8177: XML-LibXML vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-05-10T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-05-10T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 7.5 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-8177
Vulnerability DescriptionXML::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.
| Weakness | CWE-125 : Out-of-bounds Read |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| XML-LibXML greater than 0 |
|
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-XML-LibXML-2026-8177 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-xml-libxml-2026-8177.json - https://github.com/cpan-authors/XML-LibXML/commit/15652bd905a6c9dda59a81b14d4766adbbae2ea8.patch external
https://github.com/cpan-authors/XML-LibXML/commit/15652bd905a6c9dda59a81b14d4766adbbae2ea8.patch - https://github.com/cpan-authors/XML-LibXML/issues/146 external
https://github.com/cpan-authors/XML-LibXML/issues/146 - https://github.com/cpan-authors/XML-LibXML/pull/149 external
https://github.com/cpan-authors/XML-LibXML/pull/149 - http://www.openwall.com/lists/oss-security/2026/05/10/8 external
http://www.openwall.com/lists/oss-security/2026/05/10/8 - http://www.openwall.com/lists/oss-security/2026/05/11/2 external
http://www.openwall.com/lists/oss-security/2026/05/11/2 - CVE-2026-8177 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-8177
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Sun May 10 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/