CVE catalog

CVE-2012-1148

xmltok library vulnerability

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
3.47% · Oct 25, 2026

Memory leak in the poolGrow function in expat/lib/xmlparse.c in expat before 2.1.0 allows context-dependent attackers to cause a denial of service (memory consumption) via a large number of crafted XML files that cause improperly-handled reallocation failures when expanding entities.

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
Debianxmlrpc-csid1.60.05-1fixed
Debianxmlrpc-cforky1.60.05-1fixed
Debianxmlrpc-ctrixie1.59.03-10fixed
Debianxmlrpc-cbookworm1.33.14-11fixed
Debianlibxmltokbookworm1.2-4vulnerable
UbuntulibxmltoknobleNot reportedvulnerable
Ubuntuexpatnoble2.1.0~beta3-1fixed
Ubuntuxmlrpc-cnoble1.16.33-3.2fixed
Ubuntulibxmltoknoble1.2-4.1ubuntu2.24.0.4.1+esm3fixed
Ubuntulibxmltok1-devnoble1.2-4.1ubuntu2.24.0.4.1+esm3fixed
Ubuntulibxmltok1t64noble1.2-4.1ubuntu2.24.0.4.1+esm3fixed
Ubuntulibxmltokpro1.2-4vulnerable
Ubuntulibxmltokpro1.2-4ubuntu0.22.04.1~esm1fixed
Ubuntulibxmltokpro1.2-4ubuntu1vulnerable
Ubuntulibxmltokpro1.2-4.1ubuntu1vulnerable
Ubuntulibxmltokpro1.2-4.1ubuntu2vulnerable
Ubuntulibxmltokpro1.2-4.1ubuntu2.24.0.4.1+esm1vulnerable
Ubuntulibxmltokpro1.2-4.1ubuntu2.24.0.4.1+esm2vulnerable
Ubuntulibxmltokpro1.2-4.1ubuntu2.24.0.4.1+esm3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianexpatsourcesid2.1.0~beta3-1not yet assignedNot reported[663579]
Debianexpatsourceforky2.1.0~beta3-1not yet assignedNot reported[663579]
Debianexpatsourcetrixie2.1.0~beta3-1not yet assignedNot reported[663579]
Debianexpatsourcebookworm2.1.0~beta3-1not yet assignedNot reported[663579]
Debianxmlrpc-csourcesid1.16.33-3.2lowNot reported[687672]
Debianxmlrpc-csourceforky1.16.33-3.2lowNot reported[687672]
Debianxmlrpc-csourcetrixie1.16.33-3.2lowNot reported[687672]
Debianxmlrpc-csourcebookworm1.16.33-3.2lowNot reported[687672]
Debianlibxmltoksourcebookworm(unfixed)not yet assignedNot reportedNot reported
Ubuntuexpatdebnoble2.1.0~beta3-1Not reportedNot reportedNot reported
Ubuntuxmlrpc-cdebnoble1.16.33-3.2Not reportedNot reportedNot reported
Ubuntulibxmltokdebnoble1.2-4.1ubuntu2.24.0.4.1+esm3Not reportedNot reportedNot reported
Ubuntulibxmltok1-devdebnoble1.2-4.1ubuntu2.24.0.4.1+esm3Not reportedNot reportedNot reported
Ubuntulibxmltok1t64debnoble1.2-4.1ubuntu2.24.0.4.1+esm3Not reportedNot reportedNot reported
Ubuntulibxmltokdebpro1.2-4ubuntu0.22.04.1~esm1Not reportedUSN-5455-1Not reported
Ubuntulibxmltokdebpro1.2-4.1ubuntu2.24.0.4.1+esm3Not reportedUSN-7307-1Not reported

[Debian bug #663579][Debian bug #687672]

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.0~beta3-1

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

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.1.0~beta3-1

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

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

      Fixed · Fixed: 2.1.0~beta3-1

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

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

      Fixed · Fixed: 2.1.0~beta3-1

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

  • [libexpat1]Unknown

    Source package: [expat]

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

      Fixed · Fixed: 2.1.0~beta3-1

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

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.1.0~beta3-1

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

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

      Fixed · Fixed: 2.1.0~beta3-1

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

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

      Fixed · Fixed: 2.1.0~beta3-1

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

  • [libexpat1-dev]Unknown

    Source package: [expat]

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

      Fixed · Fixed: 2.1.0~beta3-1

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

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.1.0~beta3-1

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

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

      Fixed · Fixed: 2.1.0~beta3-1

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

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

      Fixed · Fixed: 2.1.0~beta3-1

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

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.33.14-11 · amd64 · bookworm

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12

    • 1.33.14-11 · arm64 · bookworm

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.33.14-11 · amd64 · bookworm

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12

    • 1.33.14-11 · arm64 · bookworm

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.33.14-11 · amd64 · bookworm

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12

    • 1.33.14-11 · arm64 · bookworm

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.33.14-11 · amd64 · bookworm

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12

    • 1.33.14-11 · arm64 · bookworm

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12

  • [libxmltok1]Unknown

    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

  • 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

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.33.14-11 · amd64 · bookworm

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12

    • 1.33.14-11 · arm64 · bookworm

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12

[Debian 13 (Trixie)]

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

  • [libexpat1]Unknown

    Source package: [expat]

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

  • [libexpat1-dev]Unknown

    Source package: [expat]

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

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

      Fixed · Fixed: 2.1.0~beta3-1

      usn · expat · debian · 13

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.59.03-10 · amd64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

    • 1.59.03-10 · arm64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.59.03-10 · amd64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

    • 1.59.03-10 · arm64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.59.03-10 · amd64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

    • 1.59.03-10 · arm64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.59.03-10 · amd64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

    • 1.59.03-10 · arm64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.59.03-10 · amd64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

    • 1.59.03-10 · arm64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.59.03-10 · amd64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

    • 1.59.03-10 · arm64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

  • Source package: [xmlrpc-c]

    Details (2)
    • 1.59.03-10 · amd64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

    • 1.59.03-10 · arm64 · trixie

      Fixed · Fixed: 1.16.33-3.2

      usn · xmlrpc-c · debian · 13

Observed:

References