CVE catalog

CVE-2026-66046

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-no

[CVE catalog]

Severity
High · CVSS 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.74% · Oct 22, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianexpatsid2.9.0-1fixed
Debianexpatforky2.9.0-1fixed
Debianexpattrixie2.8.3-1~deb13u1vulnerable
Debianexpattrixie-security2.9.0-1~deb13u1fixed
Debianexpatbookworm2.5.0-1+deb12u2vulnerable
Debianexpatbookworm-security2.5.0-1+deb12u5fixed
CpelibexpatNot reportedNot reportedunknown
Ubuntuexpatnoble2.6.1-2ubuntu0.6fixed
Ubuntulibexpat1noble2.6.1-2ubuntu0.6fixed
Ubuntulibexpat1-devnoble2.6.1-2ubuntu0.6fixed
Alpineexpat3.212.8.4-r0fixed
Alpineexpat3.222.8.4-r0fixed
Alpineexpat3.232.8.4-r0fixed
Alpineexpat3.242.8.4-r0fixed
Opensuseexpattumbleweed2.8.4-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianexpatsourcesid2.8.4-1not yet assignedNot reported[1144925]
Debianexpatsourceforky2.8.4-1not yet assignedNot reported[1144925]
Debianexpatsourcetrixie2.9.0-1~deb13u1not yet assignedNot reported[1144925]
Debianexpatsourcebookworm2.5.0-1+deb12u4not yet assignedNot reported[1144925]
Ubuntuexpatdebnoble2.6.1-2ubuntu0.6Not reportedNot reportedNot reported
Ubuntulibexpat1debnoble2.6.1-2ubuntu0.6Not reportedNot reportedNot reported
Ubuntulibexpat1-devdebnoble2.6.1-2ubuntu0.6Not reportedNot reportedNot reported
Alpineexpatapk3.212.8.4-r0Not reportedALPINE-CVE-2026-66046Not reported
Alpineexpatapk3.222.8.4-r0Not reportedALPINE-CVE-2026-66046Not reported
Alpineexpatapk3.232.8.4-r0Not reportedALPINE-CVE-2026-66046Not reported
Alpineexpatapk3.242.8.4-r0Not reportedALPINE-CVE-2026-66046Not reported
Opensuseexpatrpmtumbleweed2.8.4-1.1Not reportedOPENSUSE-SU-2026:11733-1Not reported

[Debian bug #1144925]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [expat]Unknown
    Details (4)
    • 2.5.0-1+deb12u2 · amd64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

    • 2.5.0-1+deb12u3 · amd64 · bookworm-security

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

    • 2.5.0-1+deb12u3 · arm64 · bookworm-security

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

  • [libexpat1]Unknown

    Source package: [expat]

    Details (4)
    • 2.5.0-1+deb12u2 · amd64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

    • 2.5.0-1+deb12u3 · amd64 · bookworm-security

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

    • 2.5.0-1+deb12u3 · arm64 · bookworm-security

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

  • [libexpat1-dev]Unknown

    Source package: [expat]

    Details (4)
    • 2.5.0-1+deb12u2 · amd64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

    • 2.5.0-1+deb12u3 · amd64 · bookworm-security

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

    • 2.5.0-1+deb12u3 · arm64 · bookworm-security

      Affected · Fixed: 2.5.0-1+deb12u4

      nvd · expat · debian · bookworm

[openSUSE Tumbleweed]

  • [expat]Unknown

    Source package: [expat]

    Details (1)
    • 2.8.2-1.1 · x86_64 · tumbleweed

      Affected · Fixed: 2.8.4-1.1

      nvd · expat · opensuse · tumbleweed

  • [libexpat1]Unknown

    Source package: [expat]

    Details (1)
    • 2.8.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.8.4-1.1

      Version impact unknown

      nvd · expat · opensuse · tumbleweed

  • Source package: [expat]

    Details (1)
    • 2.8.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.8.4-1.1

      Version impact unknown

      nvd · expat · opensuse · tumbleweed

  • Source package: [expat]

    Details (1)
    • 2.8.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.8.4-1.1

      Version impact unknown

      nvd · expat · opensuse · tumbleweed

  • Source package: [expat]

    Details (1)
    • 2.8.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.8.4-1.1

      Version impact unknown

      nvd · expat · opensuse · tumbleweed

Observed:

References