
CVE catalog
CVE-2024-8176
Expat vulnerability
- Severity
- High · CVSS 7.5
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | expat | sid | 2.9.0-1 | fixed |
| Debian | expat | forky | 2.9.0-1 | fixed |
| Debian | expat | trixie | 2.8.3-1~deb13u1 | fixed |
| Debian | expat | trixie-security | 2.9.0-1~deb13u1 | fixed |
| Debian | expat | bookworm | 2.5.0-1+deb12u2 | fixed |
| Debian | expat | bookworm-security | 2.5.0-1+deb12u5 | fixed |
| Debian | libxmltok | bookworm | 1.2-4 | vulnerable |
| Ubuntu | libxmltok | noble | Not reported | vulnerable |
| Ubuntu | expat | noble | 2.5.0-1+deb12u2 | fixed |
| Ubuntu | expat | noble | 2.6.1-2ubuntu0.3 | fixed |
| Ubuntu | libexpat1 | noble | 2.6.1-2ubuntu0.3 | fixed |
| Ubuntu | libexpat1-dev | noble | 2.6.1-2ubuntu0.3 | fixed |
| Alpine | expat | 3.18 | 2.7.0-r0 | fixed |
| Alpine | expat | 3.19 | 2.7.0-r0 | fixed |
| Alpine | expat | 3.20 | 2.7.0-r0 | fixed |
| Alpine | expat | 3.21 | 2.7.0-r0 | fixed |
| Alpine | expat | 3.22 | 2.7.0-r0 | fixed |
| Alpine | expat | 3.23 | 2.7.0-r0 | fixed |
| Alpine | expat | 3.24 | 2.7.0-r0 | fixed |
| Ubuntu | expat | 22.04 | 2.4.1-2 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.1-3 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.2-1 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.3-1 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.3-2 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.4-1 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.6-1 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.7-1 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.7-1ubuntu0.1 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.7-1ubuntu0.2 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.7-1ubuntu0.3 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.7-1ubuntu0.4 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.7-1ubuntu0.5 | vulnerable |
| Ubuntu | expat | 22.04 | 2.4.7-1ubuntu0.6 | fixed |
| Ubuntu | expat | 24.04 | 2.5.0-2 | vulnerable |
| Ubuntu | expat | 24.04 | 2.6.0-1 | vulnerable |
| Ubuntu | expat | 24.04 | 2.6.1-2 | vulnerable |
| Ubuntu | expat | 24.04 | 2.6.1-2build1 | vulnerable |
| Ubuntu | expat | 24.04 | 2.6.1-2ubuntu0.1 | vulnerable |
| Ubuntu | expat | 24.04 | 2.6.1-2ubuntu0.2 | vulnerable |
| Ubuntu | expat | 24.04 | 2.6.1-2ubuntu0.3 | fixed |
| Suse | expat | linux enterprise micro 5.3 | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise micro 5.4 | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise micro 5.5 | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise module for basesystem 15 sp6 | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise high performance computing 15 sp4-espos | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise high performance computing 15 sp4-ltss | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise high performance computing 15 sp5-espos | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise high performance computing 15 sp5-ltss | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise server 15 sp4-ltss | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise server 15 sp5-ltss | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise server for sap applications 15 sp4 | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise server for sap applications 15 sp5 | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | manager proxy 4.3 | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | manager server 4.3 | 2.7.1-150400.3.28.1 | fixed |
| Opensuse | expat | leap 15.6 | 2.7.1-150400.3.28.1 | fixed |
| Suse | expat | linux enterprise server 12 sp5-ltss | 2.7.1-21.43.1 | fixed |
| Suse | expat | linux enterprise server ltss extended security 12 sp5 | 2.7.1-21.43.1 | fixed |
| Suse | expat | linux enterprise high performance computing 15 sp3-ltss | 2.7.1-150000.3.36.1 | fixed |
| Suse | expat | linux enterprise server 15 sp3-ltss | 2.7.1-150000.3.36.1 | fixed |
| Suse | expat | linux enterprise server for sap applications 15 sp3 | 2.7.1-150000.3.36.1 | fixed |
| Suse | expat | linux enterprise micro 5.1 | 2.7.1-150000.3.36.1 | fixed |
| Suse | expat | linux enterprise micro 5.2 | 2.7.1-150000.3.36.1 | fixed |
| Suse | expat | enterprise storage 7.1 | 2.7.1-150000.3.36.1 | fixed |
| Opensuse | expat | tumbleweed | 2.7.1-1.1 | fixed |
| Suse | expat | linux enterprise module for basesystem 15 sp7 | 2.7.1-150700.3.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | expat | source | sid | 2.7.0-1 | not yet assigned | Not reported | Not reported |
| Debian | expat | source | forky | 2.7.0-1 | not yet assigned | Not reported | Not reported |
| Debian | expat | source | trixie | 2.7.0-1 | not yet assigned | Not reported | Not reported |
| Debian | expat | source | bookworm | 2.5.0-1+deb12u2 | not yet assigned | Not reported | Not reported |
| Debian | libxmltok | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Ubuntu | expat | deb | noble | 2.5.0-1+deb12u2 | Not reported | Not reported | Not reported |
| Ubuntu | expat | deb | noble | 2.6.1-2ubuntu0.3 | Not reported | Not reported | Not reported |
| Ubuntu | libexpat1 | deb | noble | 2.6.1-2ubuntu0.3 | Not reported | Not reported | Not reported |
| Ubuntu | libexpat1-dev | deb | noble | 2.6.1-2ubuntu0.3 | Not reported | Not reported | Not reported |
| Alpine | expat | apk | 3.18 | 2.7.0-r0 | Not reported | ALPINE-CVE-2024-8176 | Not reported |
| Alpine | expat | apk | 3.19 | 2.7.0-r0 | Not reported | ALPINE-CVE-2024-8176 | Not reported |
| Alpine | expat | apk | 3.20 | 2.7.0-r0 | Not reported | ALPINE-CVE-2024-8176 | Not reported |
| Alpine | expat | apk | 3.21 | 2.7.0-r0 | Not reported | ALPINE-CVE-2024-8176 | Not reported |
| Alpine | expat | apk | 3.22 | 2.7.0-r0 | Not reported | ALPINE-CVE-2024-8176 | Not reported |
| Alpine | expat | apk | 3.23 | 2.7.0-r0 | Not reported | ALPINE-CVE-2024-8176 | Not reported |
| Alpine | expat | apk | 3.24 | 2.7.0-r0 | Not reported | ALPINE-CVE-2024-8176 | Not reported |
| Ubuntu | expat | deb | 22.04 | 2.4.7-1ubuntu0.6 | Not reported | USN-7424-1 | Not reported |
| Ubuntu | expat | deb | 24.04 | 2.6.1-2ubuntu0.3 | Not reported | USN-7424-1 | Not reported |
| Suse | expat | rpm | linux enterprise micro 5.3 | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise micro 5.4 | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise micro 5.5 | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise module for basesystem 15 sp6 | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise high performance computing 15 sp4-espos | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise high performance computing 15 sp4-ltss | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise high performance computing 15 sp5-espos | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise high performance computing 15 sp5-ltss | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise server 15 sp4-ltss | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise server 15 sp5-ltss | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise server for sap applications 15 sp4 | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise server for sap applications 15 sp5 | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | manager proxy 4.3 | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | manager server 4.3 | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Opensuse | expat | rpm | leap 15.6 | 2.7.1-150400.3.28.1 | Not reported | SUSE-SU-2025:1201-1 | Not reported |
| Suse | expat | rpm | linux enterprise server 12 sp5-ltss | 2.7.1-21.43.1 | Not reported | SUSE-SU-2025:1295-1 | Not reported |
| Suse | expat | rpm | linux enterprise server ltss extended security 12 sp5 | 2.7.1-21.43.1 | Not reported | SUSE-SU-2025:1295-1 | Not reported |
| Suse | expat | rpm | linux enterprise high performance computing 15 sp3-ltss | 2.7.1-150000.3.36.1 | Not reported | SUSE-SU-2025:1186-1 | Not reported |
| Suse | expat | rpm | linux enterprise server 15 sp3-ltss | 2.7.1-150000.3.36.1 | Not reported | SUSE-SU-2025:1186-1 | Not reported |
| Suse | expat | rpm | linux enterprise server for sap applications 15 sp3 | 2.7.1-150000.3.36.1 | Not reported | SUSE-SU-2025:1186-1 | Not reported |
| Suse | expat | rpm | linux enterprise micro 5.1 | 2.7.1-150000.3.36.1 | Not reported | SUSE-SU-2025:1186-1 | Not reported |
| Suse | expat | rpm | linux enterprise micro 5.2 | 2.7.1-150000.3.36.1 | Not reported | SUSE-SU-2025:1186-1 | Not reported |
| Suse | expat | rpm | enterprise storage 7.1 | 2.7.1-150000.3.36.1 | Not reported | SUSE-SU-2025:1186-1 | Not reported |
| Opensuse | expat | rpm | tumbleweed | 2.7.1-1.1 | Not reported | OPENSUSE-SU-2025:14952-1 | Not reported |
| Suse | expat | rpm | linux enterprise module for basesystem 15 sp7 | 2.7.1-150700.3.3.1 | Not reported | SUSE-SU-2025:03239-1 | Not 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 · bookwormAffected
usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12
1.2-4· arm64 · bookwormAffected
usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12
- [libxmltok1-dev]Affected
Source package: [libxmltok]
Details (2)
1.2-4· amd64 · bookwormAffected
usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12
1.2-4· arm64 · bookwormAffected
usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12
- [expat]Fixed
Details (4)
2.5.0-1+deb12u2· amd64 · bookwormFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
- [libexpat1]Fixed
Source package: [expat]
Details (4)
2.5.0-1+deb12u2· amd64 · bookwormFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
- [libexpat1-dev]Fixed
Source package: [expat]
Details (4)
2.5.0-1+deb12u2· amd64 · bookwormFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.5.0-1+deb12u2usn · expat · debian · bookworm; usn · expat · debian · 12
[openSUSE Tumbleweed]
- [libexpat1]Unknown
Source package: [expat]
Details (1)
2.8.2-1.1· x86_64 · tumbleweedUnknown · Fixed:
2.7.1-1.1Version impact unknown
usn · expat · opensuse · tumbleweed
- [libexpat1-32bit]Unknown
Source package: [expat]
Details (1)
2.8.2-1.1· x86_64 · tumbleweedUnknown · Fixed:
2.7.1-1.1Version impact unknown
usn · expat · opensuse · tumbleweed
- [libexpat-devel]Unknown
Source package: [expat]
Details (1)
2.8.2-1.1· x86_64 · tumbleweedUnknown · Fixed:
2.7.1-1.1Version impact unknown
usn · expat · opensuse · tumbleweed
- [libexpat-devel-32bit]Unknown
Source package: [expat]
Details (1)
2.8.2-1.1· x86_64 · tumbleweedUnknown · Fixed:
2.7.1-1.1Version impact unknown
usn · expat · opensuse · tumbleweed
- [expat]Fixed
Source package: [expat]
Details (1)
2.8.2-1.1· x86_64 · tumbleweedFixed · Fixed:
2.7.1-1.1usn · expat · opensuse · tumbleweed
[Debian 13 (Trixie)]
- [expat]Fixed
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.7.0-1usn · expat · debian · 13
- [libexpat1]Fixed
Source package: [expat]
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.7.0-1usn · expat · debian · 13
- [libexpat1-dev]Fixed
Source package: [expat]
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.7.0-1usn · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.7.0-1usn · expat · debian · 13
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-398330.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2025_3913.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2024-8176]
- [https://osv.dev/vulnerability/ALPINE-CVE-2024-8176]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-8176]
- [https://osv.dev/vulnerability/SUSE-SU-2025:03239-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:1186-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:1201-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:1295-1]
- [https://osv.dev/vulnerability/USN-7424-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:14952-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-8176]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-8176.json]
- [https://ubuntu.com/security/notices/USN-7424-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1559.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]