cve.bz

CVE-2026-66046 libexpat project libexpat: Inefficient Algorithmic Complexity

8.7 highExploit referenceEPSS 0.9%Fix available

High (8.7) in libexpat project libexpat. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in the storeAtts() function in xmlparse.c, where processing N specified attributes with non-normalized values triggers an O(N^2) linear scan of elementType->defaultAtts to determine CDATA status. A remote unauthenticated attacker can supply a single well-formed XML document of a few megabytes to an application parsing untrusted XML to cause excessive CPU consumption, resulting in denial of service without requiring authentication, external entity resolution, or non-default parser options.

Severity

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (up from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-08-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
Assigned by
VulnCheck (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-66046 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-66046?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-66046?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-66046 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-66046

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-66046](https://cve.bz/cve/badge/CVE-2026-66046.svg)](https://cve.bz/cve/CVE-2026-66046)

HTML:

<a href="https://cve.bz/cve/CVE-2026-66046"><img src="https://cve.bz/cve/badge/CVE-2026-66046.svg" alt="CVE-2026-66046"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libexpat project libexpatthrough 2.8.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12expat2.5.0-1+deb12u4DEBIAN-CVE-2026-66046
Debian13expat2.9.0-1~deb13u1DEBIAN-CVE-2026-66046
Debian14expat2.8.4-1DEBIAN-CVE-2026-66046
Ubuntu16.04:LTStdom, smart, wbxml2 and 3 moreno fix listedUBUNTU-CVE-2026-66046
Ubuntu18.04:LTStdom, vnc4, smart and 4 moreno fix listedUBUNTU-CVE-2026-66046
Ubuntu20.04:LTS, 22.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2026-66046
Ubuntu22.04:LTSexpat2.4.7-1ubuntu0.9UBUNTU-CVE-2026-66046 USN-8813-1
Ubuntu24.04:LTSexpat2.6.1-2ubuntu0.6UBUNTU-CVE-2026-66046 USN-8813-1
Ubuntu24.04:LTStdom, wbxml2, cadaver and 1 moreno fix listedUBUNTU-CVE-2026-66046
Ubuntu26.04:LTSexpat2.7.4-1ubuntu0.2UBUNTU-CVE-2026-66046 USN-8813-1
Ubuntu26.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2026-66046
Ubuntu26.10tdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2026-66046
UbuntuPro:14.04:LTSexpat2.1.0-4ubuntu1.4+esm13UBUNTU-CVE-2026-66046 USN-8813-1
UbuntuPro:14.04:LTSvtk, vnc4, coin3 and 1 moreno fix listedUBUNTU-CVE-2026-66046
UbuntuPro:16.04:LTSexpat2.1.0-7ubuntu0.16.04.5+esm14UBUNTU-CVE-2026-66046 USN-8813-1
6 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosexpat, expat-devel, expat-debuginfo and 1 more0:2.5.0-4.el8_10RHSA-2026:72448
Red Hatenterprise_linux:9::appstreamexpat-devel, expat-debuginfo, expat-debugsource0:2.5.0-6.el9_8.5RHSA-2026:72663
Red Hatenterprise_linux:9::appstreamexpat-devel, expat-debuginfo, expat-debugsource0:2.5.0-9.el9_9.4RHSA-2026:98478
Red Hatenterprise_linux:9::baseosexpat, expat-debuginfo, expat-debugsource0:2.5.0-6.el9_8.5RHSA-2026:72663
Red Hatenterprise_linux:9::baseosexpat, expat-debuginfo, expat-debugsource0:2.5.0-9.el9_9.4RHSA-2026:98478
Red Hatenterprise_linux:10.2expat, expat-devel, expat-debuginfo and 1 more0:2.7.3-1.el10_2.5RHSA-2026:74001
Red Hatenterprise_linux:10.3expat, expat-devel, expat-debuginfo and 1 more0:2.7.3-2.el10_3.4RHSA-2026:98582
Red Hathummingbird:1expat, expat-devel, expat-static0:2.8.4-0.1.hum1RHSA-2026:65568
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 10 moreexpat2.8.5-150400.3.40.1SUSE-SU-2026:4623-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreMozillaFirefox153.5.0-150400.157.16.1SUSE-SU-2026:4834-1
SUSELinux Enterprise Module for Basesystem 15 SP7expat2.8.5-150700.3.15.1SUSE-SU-2026:4619-1
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7MozillaThunderbird153.5.0-150400.13.9.1SUSE-SU-2026:4736-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5MozillaFirefox153.5.0-118.16.2SUSE-SU-2026:4806-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5expat2.8.5-21.55.1SUSE-SU-2026:4615-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0MozillaFirefox153.5.0-160000.1.1SUSE-SU-2026:24260-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0expat2.8.4-160000.1.1SUSE-SU-2026:23912-1
SUSELinux Micro 6.0expat2.8.5-159998.1.1SUSE-SU-2026:24323-1
SUSELinux Micro 6.1expat2.8.5-slfo.1.1_1.1SUSE-SU-2026:24554-1
SUSELinux Micro 6.2expat2.8.4-160000.1.1SUSE-SU-2026:23894-1
openSUSELeap 16.0MozillaFirefox153.5.0-160000.1.1openSUSE-SU-2026:22139-1
openSUSELeap 16.0expat2.8.4-160000.1.1openSUSE-SU-2026:21945-1
openSUSETumbleweedexpat2.8.4-1.1openSUSE-SU-2026:11733-1
AlmaLinux8expat, expat-devel2.5.0-4.el8_10ALSA-2026:72448
AlmaLinux9expat, expat-devel2.5.0-6.el9_8.5ALSA-2026:72663
AlmaLinux10expat, expat-devel2.7.3-1.el10_2.5ALSA-2026:74001
Rocky Linux8expat0:2.5.0-4.el8_10RLSA-2026:72448
Rocky Linux9expat0:2.5.0-6.el9_8.5RLSA-2026:72663
Rocky Linux9expat, expat-devel, expat-debuginfo and 1 more0:2.5.0-9.el9_9.4RLSA-2026:98478
Rocky Linux10expat0:2.7.3-1.el10_2.5RLSA-2026:74001
Rocky Linux10expat, expat-devel, expat-debuginfo and 1 more0:2.7.3-2.el10_3.4RLSA-2026:98582
Alpinev3.21, v3.22, v3.23 and 1 moreexpat2.8.4-r0ALPINE-CVE-2026-66046
Azure Linux3expat2.8.3-2AZL-96605
Alpaquita23, 25expat2.8.3-r1BELL-CVE-2026-66046
Alpaquitastreamexpat2.8.3-r2BELL-CVE-2026-66046
BellSoft Hardened Containers23, 25expat2.8.3-r1BELL-CVE-2026-66046
BellSoft Hardened Containersstreamexpat2.8.3-r2BELL-CVE-2026-66046

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

An Important severity denial of service vulnerability exists in the Expat library due to inefficient algorithmic complexity when processing XML attributes. Applications parsing untrusted XML are susceptible to remote, unauthenticated attacks where a specially crafted XML payload causes excessive CPU exhaustion, ultimately resulting in service unavailability.

This vulnerability could affect Firefox and Thunderbird, but the DoS attack impact is limited just to the slowdown of tab which loads affected page. The benefit of such attack is questionable, and there are a lot of different ways to cause similar DoS effect. The CVE-2026-76641 fixes CVE-2026-66046.

Red Hat's mitigation

To mitigate, avoid parsing untrusted XML where possible. Where parsing is required, restrict sources using network controls and enforce strict limits on document size, attribute counts, and request rates at the application or proxy level. Additionally, apply strict execution timeouts to cap parser cost and interrupt processes before they can exhaust CPU resources.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10expat-0:2.7.3-1.el10_2.5Fixed 2026-09-30RHSA-2026:74001
Red Hat Enterprise Linux 10expat-0:2.7.3-2.el10_3.4Fixed 2026-11-11RHSA-2026:98582
Red Hat Enterprise Linux 8expat-0:2.5.0-4.el8_10Fixed 2026-09-28RHSA-2026:72448
Red Hat Enterprise Linux 9expat-0:2.5.0-6.el9_8.5Fixed 2026-09-29RHSA-2026:72663
Red Hat OpenShift Container Platform 4.22openshift/ose-rhel-coreos-9:4.22.9.8.202610241758-0Fixed 2026-10-27RHSA-2026:89197
Red Hat Cost Management On-Premise 1costmanagement/costmanagement-ui-rhel10:1791460851Fixed 2026-10-08RHSA-2026:79357
Red Hat Hardened Imagesexpat-main-2.8.4-0.1.hum1Fixed 2026-09-08RHSA-2026:65568
Red Hat Update Infrastructure 5rhui5/cds-kubernetes-rhel9:1791978534Fixed 2026-10-14RHSA-2026:82939
Red Hat Update Infrastructure 5rhui5/cds-rhel9:1791978528Fixed 2026-10-14RHSA-2026:82939
Red Hat Update Infrastructure 5rhui5/haproxy-rhel9:1791978528Fixed 2026-10-14RHSA-2026:82939
Red Hat Enterprise Linux 10firefoxFix deferred
Red Hat Enterprise Linux 10thunderbirdFix deferred
Red Hat Enterprise Linux 6compat-expat1Out of support scope
Red Hat Enterprise Linux 6expatOut of support scope
Red Hat Enterprise Linux 7expatAffected
Red Hat Enterprise Linux 7firefoxFix deferred
Red Hat Enterprise Linux 8firefoxFix deferred
Red Hat Enterprise Linux 8mingw-expatAffected
Red Hat Enterprise Linux 8thunderbirdFix deferred
Red Hat Enterprise Linux 8xmlrpc-cAffected
6 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-66046.

References

Check your stackJSON