CVE catalog

CVE-2013-0340

libxmltok: CVE-2013-0340

[CVE catalog]

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

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.

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
CpelibexpatNot reported2.4.0fixed
CpepythonNot reported3.9.7fixed
CpeipadosNot reported14.8fixed
Cpeiphone_osNot reported14.8fixed
CpemacosNot reported11.6fixed
CpetvosNot reported15.0fixed
CpewatchosNot reported8.0fixed
Suseexpatlinux micro 6.12.7.1-slfo.1.1_1.1fixed
Suseexpatlinux micro 6.02.7.1-1.1fixed
Opensuseexpattumbleweed2.4.1-1.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianexpatsourcesid2.4.1-2unimportantNot reported[1001864]
Debianexpatsourceforky2.4.1-2unimportantNot reported[1001864]
Debianexpatsourcetrixie2.4.1-2unimportantNot reported[1001864]
Debianexpatsourcebookworm2.4.1-2unimportantNot reported[1001864]
Debianlibxmltoksourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpelibexpatcpeNot reported2.4.0Not reportedNVD-CVE-2013-0340Not reported
CpepythoncpeNot reported3.9.7Not reportedNVD-CVE-2013-0340Not reported
CpeipadoscpeNot reported14.8Not reportedNVD-CVE-2013-0340Not reported
Cpeiphone_oscpeNot reported14.8Not reportedNVD-CVE-2013-0340Not reported
CpemacoscpeNot reported11.6Not reportedNVD-CVE-2013-0340Not reported
CpetvoscpeNot reported15.0Not reportedNVD-CVE-2013-0340Not reported
CpewatchoscpeNot reported8.0Not reportedNVD-CVE-2013-0340Not reported
Suseexpatrpmlinux micro 6.12.7.1-slfo.1.1_1.1Not reportedSUSE-SU-2025:20311-1Not reported
Suseexpatrpmlinux micro 6.02.7.1-1.1Not reportedSUSE-SU-2025:20207-1Not reported
Opensuseexpatrpmtumbleweed2.4.1-1.2Not reportedOPENSUSE-SU-2024:10748-1Not reported

[Debian bug #1001864]

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.4.1-2

      dsa · expat · debian · bookworm

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.4.1-2

      dsa · expat · debian · bookworm

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

      Fixed · Fixed: 2.4.1-2

      dsa · expat · debian · bookworm

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

      Fixed · Fixed: 2.4.1-2

      dsa · expat · debian · bookworm

  • [libexpat1]Unknown

    Source package: [expat]

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

      Fixed · Fixed: 2.4.1-2

      dsa · expat · debian · bookworm

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.4.1-2

      dsa · expat · debian · bookworm

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

      Fixed · Fixed: 2.4.1-2

      dsa · expat · debian · bookworm

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

      Fixed · Fixed: 2.4.1-2

      dsa · expat · debian · bookworm

  • [libexpat1-dev]Unknown

    Source package: [expat]

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

      Fixed · Fixed: 2.4.1-2

      dsa · expat · debian · bookworm

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.4.1-2

      dsa · expat · debian · bookworm

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

      Fixed · Fixed: 2.4.1-2

      dsa · expat · debian · bookworm

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

      Fixed · Fixed: 2.4.1-2

      dsa · expat · debian · bookworm

  • [libxmltok1]Unknown

    Source package: [libxmltok]

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

      Affected

      dsa · libxmltok · debian · bookworm

    • 1.2-4 · arm64 · bookworm

      Affected

      dsa · libxmltok · debian · bookworm

  • Source package: [libxmltok]

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

      Affected

      dsa · libxmltok · debian · bookworm

    • 1.2-4 · arm64 · bookworm

      Affected

      dsa · libxmltok · debian · bookworm

[openSUSE Tumbleweed]

  • [expat]Unknown

    Source package: [expat]

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

      Fixed · Fixed: 2.4.1-1.2

      dsa · expat · opensuse · tumbleweed

  • [libexpat1]Unknown

    Source package: [expat]

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

      Unknown · Fixed: 2.4.1-1.2

      Version impact unknown

      dsa · expat · opensuse · tumbleweed

  • Source package: [expat]

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

      Unknown · Fixed: 2.4.1-1.2

      Version impact unknown

      dsa · expat · opensuse · tumbleweed

  • Source package: [expat]

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

      Unknown · Fixed: 2.4.1-1.2

      Version impact unknown

      dsa · expat · opensuse · tumbleweed

  • Source package: [expat]

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

      Unknown · Fixed: 2.4.1-1.2

      Version impact unknown

      dsa · expat · opensuse · tumbleweed

Observed:

References