CVE catalog

CVE-2016-5300

libxmltok: CVE-2016-5300

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS: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.

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
Alpineexpat3.22.2.0-r0fixed
Alpineexpat3.32.2.0-r0fixed
Alpineexpat3.42.2.0-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianexpatsourcesid2.1.1-3not yet assignedNot reportedNot reported
Debianexpatsourceforky2.1.1-3not yet assignedNot reportedNot reported
Debianexpatsourcetrixie2.1.1-3not yet assignedNot reportedNot reported
Debianexpatsourcebookworm2.1.1-3not yet assignedNot reportedNot reported
Debianlibxmltoksourcebookworm(unfixed)not yet assignedNot reportedNot reported
Alpineexpatapk3.22.2.0-r0Not reportedALPINE-CVE-2016-5300Not reported
Alpineexpatapk3.32.2.0-r0Not reportedALPINE-CVE-2016-5300Not reported
Alpineexpatapk3.42.2.0-r0Not reportedALPINE-CVE-2016-5300Not 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 · bookworm

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

  • [libexpat1]Unknown

    Source package: [expat]

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

  • [libexpat1-dev]Unknown

    Source package: [expat]

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · bookworm; dsa · expat · debian · 12

  • [libxmltok1]Unknown

    Source package: [libxmltok]

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

      Affected

      dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12

    • 1.2-4 · arm64 · bookworm

      Affected

      dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12

  • Source package: [libxmltok]

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

      Affected

      dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12

    • 1.2-4 · arm64 · bookworm

      Affected

      dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12

[Debian 13 (Trixie)]

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

  • [libexpat1]Unknown

    Source package: [expat]

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

  • [libexpat1-dev]Unknown

    Source package: [expat]

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

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

      Fixed · Fixed: 2.1.1-3

      dsa · expat · debian · 13

Observed:

References