CVE-2026-8177 Memory corruption in XML::LibXML

High 7.5 Published Updated

Attacker can cause denial of service by triggering out-of-bounds heap reads in XML::LibXML via truncated UTF-8 node names.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-8177?

CVE-2026-8177 is a high-severity memory corruption vulnerability in SHLOMIF XML::LibXML, published on 10 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2026-8177?

Linux distribution packages (36)
perl-XML-LibXML AlmaLinux:10All versions1:2.0210-4.el10_2.1
perl-XML-LibXML AlmaLinux:8All versions1:2.0132-3.el8_10
perl-XML-LibXML AlmaLinux:9All versions1:2.0206-5.el9_8.1
perl-XML-LibXML Red Hat:enterprise_linux:10.2All versions1:2.0210-4.el10_2.1
perl-XML-LibXML-debuginfo Red Hat:enterprise_linux:10.2All versions1:2.0210-4.el10_2.1
perl-XML-LibXML-debugsource Red Hat:enterprise_linux:10.2All versions1:2.0210-4.el10_2.1
perl-XML-LibXML Red Hat:enterprise_linux:8::appstreamAll versions1:2.0132-3.el8_10
perl-XML-LibXML-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions1:2.0132-3.el8_10
perl-XML-LibXML-debugsource Red Hat:enterprise_linux:8::appstreamAll versions1:2.0132-3.el8_10
perl-XML-LibXML Red Hat:enterprise_linux:9::appstreamAll versions1:2.0206-5.el9_8.1
perl-XML-LibXML-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions1:2.0206-5.el9_8.1
perl-XML-LibXML-debugsource Red Hat:enterprise_linux:9::appstreamAll versions1:2.0206-5.el9_8.1
perl-XML-LibXML Red Hat:enterprise_linux_eus:10.0All versions1:2.0210-4.el10_0.1
perl-XML-LibXML Red Hat:rhel_e4s:9.2::appstreamAll versions1:2.0206-5.el9_2.1
perl-XML-LibXML Red Hat:rhel_e4s:9.4::appstreamAll versions1:2.0206-5.el9_4.1
perl-XML-LibXML Red Hat:rhel_eus:9.6::appstreamAll versions1:2.0206-5.el9_6.1
perl-XML-LibXML Rocky Linux:10All versions1:2.0210-4.el10_2.1
perl-XML-LibXML Rocky Linux:8All versions1:2.0132-3.el8_10
perl-XML-LibXML Rocky Linux:9All versions1:2.0206-5.el9_8.1
perl-XML-LibXML SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions2.0132-150000.3.8.1
perl-XML-LibXML SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions2.0132-150000.3.8.1
perl-XML-LibXML SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions2.0132-150000.3.8.1
perl-XML-LibXML SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions2.0132-150000.3.8.1
perl-XML-LibXML SUSE:Linux Enterprise Module for Basesystem 15 SP7All versions2.0132-150000.3.8.1
perl-XML-LibXML SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions2.0019-6.8.1
perl-XML-LibXML SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions2.0132-150000.3.8.1
perl-XML-LibXML SUSE:Linux Enterprise Server 15 SP5-LTSSAll versions2.0132-150000.3.8.1
perl-XML-LibXML SUSE:Linux Enterprise Server 15 SP6-LTSSAll versions2.0132-150000.3.8.1
perl-XML-LibXML SUSE:Linux Enterprise Server 16.0All versions2.0210-160000.3.1
perl-XML-LibXML SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions2.0019-6.8.1
perl-XML-LibXML SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions2.0132-150000.3.8.1
perl-XML-LibXML SUSE:Linux Enterprise Server for SAP Applications 15 SP5All versions2.0132-150000.3.8.1
perl-XML-LibXML SUSE:Linux Enterprise Server for SAP Applications 15 SP6All versions2.0132-150000.3.8.1
perl-XML-LibXML SUSE:Linux Enterprise Server for SAP applications 16.0All versions2.0210-160000.3.1
perl-XML-LibXML openSUSE:Leap 16.0All versions2.0210-160000.3.1
perl-XML-LibXML openSUSE:TumbleweedAll versions2.0212-1.1

How do I fix CVE-2026-8177?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-8177 being exploited?

There is no known exploitation of CVE-2026-8177 in the wild and no public exploit code.

Sources

Also known as ALSA-2026:39547, ALSA-2026:39553, ALSA-2026:39878, AZL-86550, CLSA-2026-1784553427, CLSA-2026-1784554254 and 21 more.

Is CVE-2026-8177 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free