CVE-2026-8177XML::LibXML versions through 2.0210 for Perl read out-of-bounds heap memory when parsing…
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libxml-libxml-perl | Fix pending | UBUNTU-CVE-2026-8177 | |
| Ubuntu 26.04 | libxml-libxml-perl | Under investigation | UBUNTU-CVE-2026-8177 | |
| Ubuntu 25.10 | libxml-libxml-perl | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-8177 | |
| Ubuntu 24.04 | libxml-libxml-perl | Under investigation | UBUNTU-CVE-2026-8177 | |
| Ubuntu 22.04 | libxml-libxml-perl | Under investigation | UBUNTU-CVE-2026-8177 | |
| Ubuntu 20.04 | libxml-libxml-perl | Fix pending | UBUNTU-CVE-2026-8177 | |
| Ubuntu 18.04 | libxml-libxml-perl | Fix pending | UBUNTU-CVE-2026-8177 | |
| Ubuntu 16.04 | libxml-libxml-perl | Fix pending | UBUNTU-CVE-2026-8177 | |
| Debian 14 | libxml-libxml-perl | Fixed | 2.0207+dfsg+really+2.0134-8 | DEBIAN-CVE-2026-8177 |
| Debian 13 | libxml-libxml-perl | Fixed | 2.0207+dfsg+really+2.0134-5+deb13u1 | DEBIAN-CVE-2026-8177 |
| Debian 12 | libxml-libxml-perl | Fixed | 2.0207+dfsg+really+2.0134-1+deb12u1 | DEBIAN-CVE-2026-8177 |
| Red Hat Enterprise Linux 10 | perl-XML-LibXML | Fixed | 1:2.0210-4.el10_2.1 | RHSA-2026:39547 |
| Red Hat Enterprise Linux 9 | perl-XML-LibXML | Fixed | 1:2.0206-5.el9_8.1 | RHSA-2026:39553 |
| Red Hat Enterprise Linux 8 | perl-XML-LibXML | Fixed | 1:2.0132-3.el8_10 | RHSA-2026:39878 |
| Red Hat Enterprise Linux 7 | perl-XML-LibXML | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | perl-XML-LibXML | Will not fix Out of support scope | ||
| AlmaLinux 10 | perl-XML-LibXML | Fixed | 1:2.0210-4.el10_2.1 | ALSA-2026:39547 |
| AlmaLinux 9 | perl-XML-LibXML | Fixed | 1:2.0206-5.el9_8.1 | ALSA-2026:39553 |
| AlmaLinux 8 | perl-XML-LibXML | Fixed | 1:2.0132-3.el8_10 | ALSA-2026:39878 |
| Rocky Linux 10 | perl-XML-LibXML | Fixed | 1:2.0210-4.el10_2.1 | RLSA-2026:39547 |
| Rocky Linux 9 | perl-XML-LibXML | Fixed | 1:2.0206-5.el9_8.1 | RLSA-2026:39553 |
| Rocky Linux 8 | perl-XML-LibXML | Fixed | 1:2.0132-3.el8_10 | RLSA-2026:39878 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- SHLOMIF XML::LibXML: affected: up to 2.0210
Solution: Upgrade to a future XML::LibXML release, or apply the upstream patch.
Vendor advisories:
References
- https://github.com/cpan-authors/XML-LibXML/issues/146
- https://github.com/cpan-authors/XML-LibXML/pull/149
- https://github.com/cpan-authors/XML-LibXML/commit/15652bd905a6c9dda59a81b14d4766adbbae2ea8.patch
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.