CVE catalog

CVE-2012-6702

libxmltok: CVE-2012-6702

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
2.37% · Oct 27, 2026

Expat, when used in a parser that has not called XML_SetHashSalt or passed it a seed of 0, makes it easier for context-dependent attackers to defeat cryptographic protection mechanisms via vectors involving use of the srand function.

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
Ubuntuexpat14.042.1.0-4vulnerable
Ubuntuexpat14.042.1.0-4ubuntu1vulnerable
Ubuntuexpat14.042.1.0-4ubuntu1.1vulnerable
Ubuntuexpat14.042.1.0-4ubuntu1.2vulnerable
Ubuntuexpat14.042.1.0-4ubuntu1.3fixed
Ubuntuexpat16.042.1.0-7vulnerable
Ubuntuexpat16.042.1.0-7ubuntu0.16.04.1vulnerable
Ubuntuexpat16.042.1.0-7ubuntu0.16.04.2fixed
Suseexpatlinux enterprise desktop 12 sp12.1.0-20.2fixed
Suseexpatlinux enterprise desktop 12 sp22.1.0-20.2fixed
Suseexpatlinux enterprise server for raspberry pi 12 sp22.1.0-20.2fixed
Suseexpatlinux enterprise software development kit 12 sp12.1.0-20.2fixed
Suseexpatlinux enterprise software development kit 12 sp22.1.0-20.2fixed
Suseexpatlinux enterprise server 12 sp12.1.0-20.2fixed
Suseexpatlinux enterprise server for sap applications 12 sp12.1.0-20.2fixed
Suseexpatlinux enterprise server 12 sp22.1.0-20.2fixed
Suseexpatlinux enterprise server for sap applications 12 sp22.1.0-20.2fixed
Suseexpatlinux enterprise software development kit 11 sp42.0.1-88.41.1fixed
Suseexpatlinux enterprise server 11 sp42.0.1-88.41.1fixed
Suseexpatlinux enterprise server for sap applications 11 sp42.0.1-88.41.1fixed
Suseexpatstudio onsite 1.32.0.1-88.41.1fixed

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-2012-6702Not reported
Alpineexpatapk3.32.2.0-r0Not reportedALPINE-CVE-2012-6702Not reported
Alpineexpatapk3.42.2.0-r0Not reportedALPINE-CVE-2012-6702Not reported
Ubuntuexpatdeb14.042.1.0-4ubuntu1.3Not reportedUSN-3010-1Not reported
Ubuntuexpatdeb16.042.1.0-7ubuntu0.16.04.2Not reportedUSN-3010-1Not reported
Suseexpatrpmlinux enterprise desktop 12 sp12.1.0-20.2Not reportedSUSE-SU-2017:0424-1Not reported
Suseexpatrpmlinux enterprise desktop 12 sp22.1.0-20.2Not reportedSUSE-SU-2017:0424-1Not reported
Suseexpatrpmlinux enterprise server for raspberry pi 12 sp22.1.0-20.2Not reportedSUSE-SU-2017:0424-1Not reported
Suseexpatrpmlinux enterprise software development kit 12 sp12.1.0-20.2Not reportedSUSE-SU-2017:0424-1Not reported
Suseexpatrpmlinux enterprise software development kit 12 sp22.1.0-20.2Not reportedSUSE-SU-2017:0424-1Not reported
Suseexpatrpmlinux enterprise server 12 sp12.1.0-20.2Not reportedSUSE-SU-2017:0424-1Not reported
Suseexpatrpmlinux enterprise server for sap applications 12 sp12.1.0-20.2Not reportedSUSE-SU-2017:0424-1Not reported
Suseexpatrpmlinux enterprise server 12 sp22.1.0-20.2Not reportedSUSE-SU-2017:0424-1Not reported
Suseexpatrpmlinux enterprise server for sap applications 12 sp22.1.0-20.2Not reportedSUSE-SU-2017:0424-1Not reported
Suseexpatrpmlinux enterprise software development kit 11 sp42.0.1-88.41.1Not reportedSUSE-SU-2017:0415-1Not reported
Suseexpatrpmlinux enterprise server 11 sp42.0.1-88.41.1Not reportedSUSE-SU-2017:0415-1Not reported
Suseexpatrpmlinux enterprise server for sap applications 11 sp42.0.1-88.41.1Not reportedSUSE-SU-2017:0415-1Not reported
Suseexpatrpmstudio onsite 1.32.0.1-88.41.1Not reportedSUSE-SU-2017:0415-1Not 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