
CVE catalog
CVE-2016-5300
libxmltok: CVE-2016-5300
- Severity
- Medium · CVSS 6.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 6.54% · Oct 27, 2026
The XML parser in Expat does not use sufficient entropy for hash initialization, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted identifiers in an XML document. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0876.
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 |
| Alpine | expat | 3.2 | 2.2.0-r0 | fixed |
| Alpine | expat | 3.3 | 2.2.0-r0 | fixed |
| Alpine | expat | 3.4 | 2.2.0-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | expat | source | sid | 2.1.1-3 | not yet assigned | Not reported | Not reported |
| Debian | expat | source | forky | 2.1.1-3 | not yet assigned | Not reported | Not reported |
| Debian | expat | source | trixie | 2.1.1-3 | not yet assigned | Not reported | Not reported |
| Debian | expat | source | bookworm | 2.1.1-3 | not yet assigned | Not reported | Not reported |
| Debian | libxmltok | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Alpine | expat | apk | 3.2 | 2.2.0-r0 | Not reported | ALPINE-CVE-2016-5300 | Not reported |
| Alpine | expat | apk | 3.3 | 2.2.0-r0 | Not reported | ALPINE-CVE-2016-5300 | Not reported |
| Alpine | expat | apk | 3.4 | 2.2.0-r0 | Not reported | ALPINE-CVE-2016-5300 | Not reported |
Notes
[bookworm] libxmltok: Minor issue, no runtime dependencies left
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 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
- [libexpat1]Unknown
Source package: [expat]
Details (4)
2.5.0-1+deb12u2· amd64 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
- [libexpat1-dev]Unknown
Source package: [expat]
Details (4)
2.5.0-1+deb12u2· amd64 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
- [libxmltok1]Unknown
Source package: [libxmltok]
Details (2)
1.2-4· amd64 · bookwormAffected
dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12
1.2-4· arm64 · bookwormAffected
dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12
- [libxmltok1-dev]Unknown
Source package: [libxmltok]
Details (2)
1.2-4· amd64 · bookwormAffected
dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12
1.2-4· arm64 · bookwormAffected
dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12
[Debian 13 (Trixie)]
- [expat]Unknown
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
- [libexpat1]Unknown
Source package: [expat]
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
- [libexpat1-dev]Unknown
Source package: [expat]
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2017_0415-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2016-5300]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2016-5300]
- [https://security-tracker.debian.org/tracker/CVE-2016-5300]
- [https://security.access.redhat.com/data/csaf/v2/vex/2016/cve-2016-5300.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]