CVE catalog

CVE-2024-8176

Expat vulnerability

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.35% · Oct 27, 2026

A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and causing a crash. This issue could lead to denial of service (DoS) or, in some cases, exploitable memory corruption, depending on the environment and library usage.

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~deb13u1fixed
Debianexpattrixie-security2.9.0-1~deb13u1fixed
Debianexpatbookworm2.5.0-1+deb12u2fixed
Debianexpatbookworm-security2.5.0-1+deb12u5fixed
Debianlibxmltokbookworm1.2-4vulnerable
UbuntulibxmltoknobleNot reportedvulnerable
Ubuntuexpatnoble2.5.0-1+deb12u2fixed
Ubuntuexpatnoble2.6.1-2ubuntu0.3fixed
Ubuntulibexpat1noble2.6.1-2ubuntu0.3fixed
Ubuntulibexpat1-devnoble2.6.1-2ubuntu0.3fixed
Alpineexpat3.182.7.0-r0fixed
Alpineexpat3.192.7.0-r0fixed
Alpineexpat3.202.7.0-r0fixed
Alpineexpat3.212.7.0-r0fixed
Alpineexpat3.222.7.0-r0fixed
Alpineexpat3.232.7.0-r0fixed
Alpineexpat3.242.7.0-r0fixed
Ubuntuexpat22.042.4.1-2vulnerable
Ubuntuexpat22.042.4.1-3vulnerable
Ubuntuexpat22.042.4.2-1vulnerable
Ubuntuexpat22.042.4.3-1vulnerable
Ubuntuexpat22.042.4.3-2vulnerable
Ubuntuexpat22.042.4.4-1vulnerable
Ubuntuexpat22.042.4.6-1vulnerable
Ubuntuexpat22.042.4.7-1vulnerable
Ubuntuexpat22.042.4.7-1ubuntu0.1vulnerable
Ubuntuexpat22.042.4.7-1ubuntu0.2vulnerable
Ubuntuexpat22.042.4.7-1ubuntu0.3vulnerable
Ubuntuexpat22.042.4.7-1ubuntu0.4vulnerable
Ubuntuexpat22.042.4.7-1ubuntu0.5vulnerable
Ubuntuexpat22.042.4.7-1ubuntu0.6fixed
Ubuntuexpat24.042.5.0-2vulnerable
Ubuntuexpat24.042.6.0-1vulnerable
Ubuntuexpat24.042.6.1-2vulnerable
Ubuntuexpat24.042.6.1-2build1vulnerable
Ubuntuexpat24.042.6.1-2ubuntu0.1vulnerable
Ubuntuexpat24.042.6.1-2ubuntu0.2vulnerable
Ubuntuexpat24.042.6.1-2ubuntu0.3fixed
Suseexpatlinux enterprise micro 5.32.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise micro 5.42.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise micro 5.52.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise module for basesystem 15 sp62.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise high performance computing 15 sp4-espos2.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise high performance computing 15 sp4-ltss2.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise high performance computing 15 sp5-espos2.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise high performance computing 15 sp5-ltss2.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise server 15 sp4-ltss2.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise server 15 sp5-ltss2.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise server for sap applications 15 sp42.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise server for sap applications 15 sp52.7.1-150400.3.28.1fixed
Suseexpatmanager proxy 4.32.7.1-150400.3.28.1fixed
Suseexpatmanager server 4.32.7.1-150400.3.28.1fixed
Opensuseexpatleap 15.62.7.1-150400.3.28.1fixed
Suseexpatlinux enterprise server 12 sp5-ltss2.7.1-21.43.1fixed
Suseexpatlinux enterprise server ltss extended security 12 sp52.7.1-21.43.1fixed
Suseexpatlinux enterprise high performance computing 15 sp3-ltss2.7.1-150000.3.36.1fixed
Suseexpatlinux enterprise server 15 sp3-ltss2.7.1-150000.3.36.1fixed
Suseexpatlinux enterprise server for sap applications 15 sp32.7.1-150000.3.36.1fixed
Suseexpatlinux enterprise micro 5.12.7.1-150000.3.36.1fixed
Suseexpatlinux enterprise micro 5.22.7.1-150000.3.36.1fixed
Suseexpatenterprise storage 7.12.7.1-150000.3.36.1fixed
Opensuseexpattumbleweed2.7.1-1.1fixed
Suseexpatlinux enterprise module for basesystem 15 sp72.7.1-150700.3.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianexpatsourcesid2.7.0-1not yet assignedNot reportedNot reported
Debianexpatsourceforky2.7.0-1not yet assignedNot reportedNot reported
Debianexpatsourcetrixie2.7.0-1not yet assignedNot reportedNot reported
Debianexpatsourcebookworm2.5.0-1+deb12u2not yet assignedNot reportedNot reported
Debianlibxmltoksourcebookworm(unfixed)not yet assignedNot reportedNot reported
Ubuntuexpatdebnoble2.5.0-1+deb12u2Not reportedNot reportedNot reported
Ubuntuexpatdebnoble2.6.1-2ubuntu0.3Not reportedNot reportedNot reported
Ubuntulibexpat1debnoble2.6.1-2ubuntu0.3Not reportedNot reportedNot reported
Ubuntulibexpat1-devdebnoble2.6.1-2ubuntu0.3Not reportedNot reportedNot reported
Alpineexpatapk3.182.7.0-r0Not reportedALPINE-CVE-2024-8176Not reported
Alpineexpatapk3.192.7.0-r0Not reportedALPINE-CVE-2024-8176Not reported
Alpineexpatapk3.202.7.0-r0Not reportedALPINE-CVE-2024-8176Not reported
Alpineexpatapk3.212.7.0-r0Not reportedALPINE-CVE-2024-8176Not reported
Alpineexpatapk3.222.7.0-r0Not reportedALPINE-CVE-2024-8176Not reported
Alpineexpatapk3.232.7.0-r0Not reportedALPINE-CVE-2024-8176Not reported
Alpineexpatapk3.242.7.0-r0Not reportedALPINE-CVE-2024-8176Not reported
Ubuntuexpatdeb22.042.4.7-1ubuntu0.6Not reportedUSN-7424-1Not reported
Ubuntuexpatdeb24.042.6.1-2ubuntu0.3Not reportedUSN-7424-1Not reported
Suseexpatrpmlinux enterprise micro 5.32.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise micro 5.42.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise micro 5.52.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise module for basesystem 15 sp62.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise high performance computing 15 sp4-espos2.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise high performance computing 15 sp4-ltss2.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise high performance computing 15 sp5-espos2.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise high performance computing 15 sp5-ltss2.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise server 15 sp4-ltss2.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise server 15 sp5-ltss2.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise server for sap applications 15 sp42.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise server for sap applications 15 sp52.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmmanager proxy 4.32.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmmanager server 4.32.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Opensuseexpatrpmleap 15.62.7.1-150400.3.28.1Not reportedSUSE-SU-2025:1201-1Not reported
Suseexpatrpmlinux enterprise server 12 sp5-ltss2.7.1-21.43.1Not reportedSUSE-SU-2025:1295-1Not reported
Suseexpatrpmlinux enterprise server ltss extended security 12 sp52.7.1-21.43.1Not reportedSUSE-SU-2025:1295-1Not reported
Suseexpatrpmlinux enterprise high performance computing 15 sp3-ltss2.7.1-150000.3.36.1Not reportedSUSE-SU-2025:1186-1Not reported
Suseexpatrpmlinux enterprise server 15 sp3-ltss2.7.1-150000.3.36.1Not reportedSUSE-SU-2025:1186-1Not reported
Suseexpatrpmlinux enterprise server for sap applications 15 sp32.7.1-150000.3.36.1Not reportedSUSE-SU-2025:1186-1Not reported
Suseexpatrpmlinux enterprise micro 5.12.7.1-150000.3.36.1Not reportedSUSE-SU-2025:1186-1Not reported
Suseexpatrpmlinux enterprise micro 5.22.7.1-150000.3.36.1Not reportedSUSE-SU-2025:1186-1Not reported
Suseexpatrpmenterprise storage 7.12.7.1-150000.3.36.1Not reportedSUSE-SU-2025:1186-1Not reported
Opensuseexpatrpmtumbleweed2.7.1-1.1Not reportedOPENSUSE-SU-2025:14952-1Not reported
Suseexpatrpmlinux enterprise module for basesystem 15 sp72.7.1-150700.3.3.1Not reportedSUSE-SU-2025:03239-1Not reported

Notes

[bookworm] libxmltok: Minor issue, no runtime dependencies left

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libxmltok1]Affected

    Source package: [libxmltok]

    Details (2)
    • 1.2-4 · amd64 · bookworm

      Affected

      usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12

    • 1.2-4 · arm64 · bookworm

      Affected

      usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12

  • [libxmltok1-dev]Affected

    Source package: [libxmltok]

    Details (2)
    • 1.2-4 · amd64 · bookworm

      Affected

      usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12

    • 1.2-4 · arm64 · bookworm

      Affected

      usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12

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

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

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

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

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

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

  • [libexpat1]Fixed

    Source package: [expat]

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

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

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

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

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

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

  • Source package: [expat]

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

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

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

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

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

      Fixed · Fixed: 2.5.0-1+deb12u2

      usn · expat · debian · bookworm; usn · expat · debian · 12

[openSUSE Tumbleweed]

  • [libexpat1]Unknown

    Source package: [expat]

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

      Unknown · Fixed: 2.7.1-1.1

      Version impact unknown

      usn · expat · opensuse · tumbleweed

  • Source package: [expat]

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

      Unknown · Fixed: 2.7.1-1.1

      Version impact unknown

      usn · expat · opensuse · tumbleweed

  • Source package: [expat]

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

      Unknown · Fixed: 2.7.1-1.1

      Version impact unknown

      usn · expat · opensuse · tumbleweed

  • Source package: [expat]

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

      Unknown · Fixed: 2.7.1-1.1

      Version impact unknown

      usn · expat · opensuse · tumbleweed

  • [expat]Fixed

    Source package: [expat]

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

      Fixed · Fixed: 2.7.1-1.1

      usn · expat · opensuse · tumbleweed

[Debian 13 (Trixie)]

  • [expat]Fixed
    Details (6)
    • 2.7.1-2 · amd64 · trixie

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.8.2-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.8.3-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.8.3-1~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.9.0-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

  • [libexpat1]Fixed

    Source package: [expat]

    Details (6)
    • 2.7.1-2 · amd64 · trixie

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.8.2-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.8.3-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.8.3-1~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.9.0-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

  • Source package: [expat]

    Details (6)
    • 2.7.1-2 · amd64 · trixie

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.8.2-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.8.3-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.8.3-1~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

    • 2.9.0-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.7.0-1

      usn · expat · debian · 13

Observed:

References