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-07-15 14:18:35 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
Primary CVSS: v3.1 7.5 HIGH from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.006290000 probability, percentile 0.461250000 (date 2026-07-19)
Problem Types: CWE-125 | CWE-125 CWE-125 Out-of-bounds Read | CWE-125 Out-of-bounds Read
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | ADP | CVSS | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | SHLOMIF | XMLLibXML | affected 2.0210 custom | Not specified |
| ADP | Red Hat | Red Hat Enterprise Linux 10 | unaffected 1:2.0210-4.el10_2.1 * rpm | Not specified |
| ADP | Red Hat | Red Hat Enterprise Linux 9 | unaffected 1:2.0206-5.el9_8.1 * rpm | Not specified |
| ADP | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| ADP | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| ADP | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
| ADP | Red Hat | Red Hat OpenShift Container Platform 4 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2026:39553 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | access.redhat.com | |
| www.openwall.com/lists/oss-security/2026/05/10/8 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8177.json | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | security.access.redhat.com | |
| github.com/cpan-authors/XML-LibXML/issues/146 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| access.redhat.com/security/cve/CVE-2026-8177 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | access.redhat.com | |
| www.openwall.com/lists/oss-security/2026/05/11/2 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| bugzilla.redhat.com/show_bug.cgi | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | bugzilla.redhat.com | |
| github.com/cpan-authors/XML-LibXML/commit/15652bd905a6c9dda59a81b14d4766... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| access.redhat.com/errata/RHSA-2026:39547 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | access.redhat.com | |
| github.com/cpan-authors/XML-LibXML/pull/149 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| access.redhat.com/errata/RHSA-2026:39878 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-05-08T00:00:00.000Z | Patch submitted in upstream PR. |
| ADP | 2026-05-10T22:00:53.601Z | Reported to Red Hat. |
| ADP | 2026-05-10T20:48:51.816Z | Made public. |
Solutions
CNA: Upgrade to a future XML::LibXML release, or apply the upstream patch.
ADP: RHSA-2026:39547: Red Hat Enterprise Linux AppStream (v. 10)
ADP: RHSA-2026:39878: Red Hat Enterprise Linux AppStream (v. 8)
ADP: RHSA-2026:39553: Red Hat Enterprise Linux AppStream (v. 9)
Workarounds
ADP: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.