CVE catalog

CVE-2024-45491

xmltok library vulnerabilities

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.13% · Oct 25, 2026

An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX).

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+deb12u1fixed
Ubuntulibxmltoknoble1.2-4.1ubuntu2.24.0.4.1+esm1fixed
Ubuntulibxmltok1-devnoble1.2-4.1ubuntu2.24.0.4.1+esm1fixed
Ubuntulibxmltok1t64noble1.2-4.1ubuntu2.24.0.4.1+esm1fixed
Ubuntuexpatnoble2.6.1-2ubuntu0.1fixed
Ubuntulibexpat1noble2.6.1-2ubuntu0.1fixed
Ubuntulibexpat1-devnoble2.6.1-2ubuntu0.1fixed
Alpineexpat3.172.6.3-r0fixed
Alpineexpat3.182.6.3-r0fixed
Alpineexpat3.192.6.3-r0fixed
Alpineexpat3.202.6.3-r0fixed
Alpineexpat3.212.6.3-r0fixed
Alpineexpat3.222.6.3-r0fixed
Alpineexpat3.232.6.3-r0fixed
Alpineexpat3.242.6.3-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianexpatsourcesid2.6.2-2not yet assignedNot reported[1080150]
Debianexpatsourceforky2.6.2-2not yet assignedNot reported[1080150]
Debianexpatsourcetrixie2.6.2-2not yet assignedNot reported[1080150]
Debianexpatsourcebookworm2.5.0-1+deb12u1not yet assignedNot reported[1080150]
Debianlibxmltoksourcebookworm(unfixed)not yet assignedNot reportedNot reported
Ubuntuexpatdebnoble2.5.0-1+deb12u1Not reportedNot reportedNot reported
Ubuntulibxmltokdebnoble1.2-4.1ubuntu2.24.0.4.1+esm1Not reportedNot reportedNot reported
Ubuntulibxmltok1-devdebnoble1.2-4.1ubuntu2.24.0.4.1+esm1Not reportedNot reportedNot reported
Ubuntulibxmltok1t64debnoble1.2-4.1ubuntu2.24.0.4.1+esm1Not reportedNot reportedNot reported
Ubuntuexpatdebnoble2.6.1-2ubuntu0.1Not reportedNot reportedNot reported
Ubuntulibexpat1debnoble2.6.1-2ubuntu0.1Not reportedNot reportedNot reported
Ubuntulibexpat1-devdebnoble2.6.1-2ubuntu0.1Not reportedNot reportedNot reported
Alpineexpatapk3.172.6.3-r0Not reportedALPINE-CVE-2024-45491Not reported
Alpineexpatapk3.182.6.3-r0Not reportedALPINE-CVE-2024-45491Not reported
Alpineexpatapk3.192.6.3-r0Not reportedALPINE-CVE-2024-45491Not reported
Alpineexpatapk3.202.6.3-r0Not reportedALPINE-CVE-2024-45491Not reported
Alpineexpatapk3.212.6.3-r0Not reportedALPINE-CVE-2024-45491Not reported
Alpineexpatapk3.222.6.3-r0Not reportedALPINE-CVE-2024-45491Not reported
Alpineexpatapk3.232.6.3-r0Not reportedALPINE-CVE-2024-45491Not reported
Alpineexpatapk3.242.6.3-r0Not reportedALPINE-CVE-2024-45491Not reported

[Debian bug #1080150]

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+deb12u1

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

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.5.0-1+deb12u1

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

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

      Fixed · Fixed: 2.5.0-1+deb12u1

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

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

      Fixed · Fixed: 2.5.0-1+deb12u1

      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+deb12u1

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

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.5.0-1+deb12u1

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

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

      Fixed · Fixed: 2.5.0-1+deb12u1

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

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

      Fixed · Fixed: 2.5.0-1+deb12u1

      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+deb12u1

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

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.5.0-1+deb12u1

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

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

      Fixed · Fixed: 2.5.0-1+deb12u1

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

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

      Fixed · Fixed: 2.5.0-1+deb12u1

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

[Debian 13 (Trixie)]

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

  • [libexpat1]Fixed

    Source package: [expat]

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

  • Source package: [expat]

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.6.2-2

      usn · expat · debian · 13

Observed:

References