CVE-2026-66046: Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in t HIGH 7.5 REMOTE UPGRADE
CVE-2026-66046 is a high-severity flaw (CVSS 7.5) affecting libexpat. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 e
Why this priority High severity Public exploit reference Remotely exploitable, no login, no user action A fixed release or distro patch exists.
Risk facts CVSS score 7.5 (High) Attack vector Network (remote) Attack complexity Low Privileges needed None User interaction None EPSS exploit chance 0.7% (top 46%) CISA exploited list No Weakness CWE-407 Published 2026-08-18 Last modified 2026-10-22
Timeline 2026-08-18 Published CVE record published2026-10-22 22:10 UTC Updated Record last modifiedlibexpat project libexpat UPGRADE
Affected: <= 2.8.3
Fixed in: newer than 2.8.3
Safe to downgrade to: no unaffected older release
1. Check installed version
Copy apt-cache policy libexpat || rpm -q libexpat || libexpat --version
2. UPGRADE to newer than 2.8.3 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade libexpat
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade libexpat
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Exact fixes by distribution Show all
Fedora 46 · python-fontconfig ·
FIXED · 0.6.3-1.fc46 · FEDORA-2026-f92ca8b01f ·
source Copy sudo dnf upgrade --advisory=FEDORA-2026-f92ca8b01f
Fedora ELN · valgrind ·
FIXED · 3.28.0-1.eln159 · FEDORA-2026-c593ef1d15 ·
source Copy sudo dnf upgrade --advisory=FEDORA-2026-c593ef1d15
Ubuntu 20.04 · expat · FIXED · 2.2.9-1ubuntu0.8+esm3
Copy sudo apt update && sudo apt install --only-upgrade expat
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' expat)" ge "2.2.9-1ubuntu0.8+esm3" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 22.04 · expat · FIXED · 2.4.7-1ubuntu0.9
Copy sudo apt update && sudo apt install --only-upgrade expat
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' expat)" ge "2.4.7-1ubuntu0.9" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 24.04 · expat · FIXED · 2.6.1-2ubuntu0.6
Copy sudo apt update && sudo apt install --only-upgrade expat
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' expat)" ge "2.6.1-2ubuntu0.6" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 20.04 · apache2 · NOT AFFECTED
Ubuntu 22.04 · apache2 · NOT AFFECTED
Debian 12 · expat · FIXED · 2.5.0-1+deb12u4
Copy sudo apt update && sudo apt install --only-upgrade expat
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' expat)" ge "2.5.0-1+deb12u4" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · expat · FIXED · 2.9.0-1~deb13u1
Copy sudo apt update && sudo apt install --only-upgrade expat
dpkg --compare-versions "$(dpkg-query -W -f='${Version}' expat)" ge "2.9.0-1~deb13u1" && echo PATCHED || echo STILL-VULNERABLE
RHEL 10 · expat · FIXED · expat-2.7.3-1.el10_2.5
Copy sudo dnf upgrade --advisory=RHSA-2026:74001
rpm -q expat
RHEL 8 · expat · FIXED · expat-2.5.0-4.el8_10
Copy sudo dnf upgrade --advisory=RHSA-2026:72448
rpm -q expat
RHEL 9 · expat · FIXED · expat-2.5.0-6.el9_8.5
Copy sudo dnf upgrade --advisory=RHSA-2026:72663
rpm -q expat
RHEL 10 · firefox · NO FIX YET
RHEL 10 · thunderbird · NO FIX YET
Alpine 3.21 · expat · FIXED · expat-2.8.4-r0
Copy apk add --upgrade expat
apk info -v expat
Alpine 3.22 · expat · FIXED · expat-2.8.4-r0
Copy apk add --upgrade expat
apk info -v expat
Alpine 3.23 · expat · FIXED · expat-2.8.4-r0
Copy apk add --upgrade expat
apk info -v expat
Alpine 3.24 · expat · FIXED · expat-2.8.4-r0
Copy apk add --upgrade expat
apk info -v expat
Copy sudo dnf update --advisory=ALAS2023-2026-2157
Copy sudo yum update --advisory=ALAS2-2026-3965
Public exploits and detection Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Advisories and coverage Official advisories Verify at the official source NVD ·
CVE Program ·
Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems. References ← Back to latest CVEs