
CVE catalog
CVE-2012-6702
libxmltok: CVE-2012-6702
- Severity
- Medium · CVSS 5.9
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | expat | sid | 2.9.0-1 | fixed |
| Debian | expat | forky | 2.9.0-1 | fixed |
| Debian | expat | trixie | 2.8.3-1~deb13u1 | fixed |
| Debian | expat | trixie-security | 2.9.0-1~deb13u1 | fixed |
| Debian | expat | bookworm | 2.5.0-1+deb12u2 | fixed |
| Debian | expat | bookworm-security | 2.5.0-1+deb12u5 | fixed |
| Debian | libxmltok | bookworm | 1.2-4 | vulnerable |
| Alpine | expat | 3.2 | 2.2.0-r0 | fixed |
| Alpine | expat | 3.3 | 2.2.0-r0 | fixed |
| Alpine | expat | 3.4 | 2.2.0-r0 | fixed |
| Ubuntu | expat | 14.04 | 2.1.0-4 | vulnerable |
| Ubuntu | expat | 14.04 | 2.1.0-4ubuntu1 | vulnerable |
| Ubuntu | expat | 14.04 | 2.1.0-4ubuntu1.1 | vulnerable |
| Ubuntu | expat | 14.04 | 2.1.0-4ubuntu1.2 | vulnerable |
| Ubuntu | expat | 14.04 | 2.1.0-4ubuntu1.3 | fixed |
| Ubuntu | expat | 16.04 | 2.1.0-7 | vulnerable |
| Ubuntu | expat | 16.04 | 2.1.0-7ubuntu0.16.04.1 | vulnerable |
| Ubuntu | expat | 16.04 | 2.1.0-7ubuntu0.16.04.2 | fixed |
| Suse | expat | linux enterprise desktop 12 sp1 | 2.1.0-20.2 | fixed |
| Suse | expat | linux enterprise desktop 12 sp2 | 2.1.0-20.2 | fixed |
| Suse | expat | linux enterprise server for raspberry pi 12 sp2 | 2.1.0-20.2 | fixed |
| Suse | expat | linux enterprise software development kit 12 sp1 | 2.1.0-20.2 | fixed |
| Suse | expat | linux enterprise software development kit 12 sp2 | 2.1.0-20.2 | fixed |
| Suse | expat | linux enterprise server 12 sp1 | 2.1.0-20.2 | fixed |
| Suse | expat | linux enterprise server for sap applications 12 sp1 | 2.1.0-20.2 | fixed |
| Suse | expat | linux enterprise server 12 sp2 | 2.1.0-20.2 | fixed |
| Suse | expat | linux enterprise server for sap applications 12 sp2 | 2.1.0-20.2 | fixed |
| Suse | expat | linux enterprise software development kit 11 sp4 | 2.0.1-88.41.1 | fixed |
| Suse | expat | linux enterprise server 11 sp4 | 2.0.1-88.41.1 | fixed |
| Suse | expat | linux enterprise server for sap applications 11 sp4 | 2.0.1-88.41.1 | fixed |
| Suse | expat | studio onsite 1.3 | 2.0.1-88.41.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | expat | source | sid | 2.1.1-3 | not yet assigned | Not reported | Not reported |
| Debian | expat | source | forky | 2.1.1-3 | not yet assigned | Not reported | Not reported |
| Debian | expat | source | trixie | 2.1.1-3 | not yet assigned | Not reported | Not reported |
| Debian | expat | source | bookworm | 2.1.1-3 | not yet assigned | Not reported | Not reported |
| Debian | libxmltok | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Alpine | expat | apk | 3.2 | 2.2.0-r0 | Not reported | ALPINE-CVE-2012-6702 | Not reported |
| Alpine | expat | apk | 3.3 | 2.2.0-r0 | Not reported | ALPINE-CVE-2012-6702 | Not reported |
| Alpine | expat | apk | 3.4 | 2.2.0-r0 | Not reported | ALPINE-CVE-2012-6702 | Not reported |
| Ubuntu | expat | deb | 14.04 | 2.1.0-4ubuntu1.3 | Not reported | USN-3010-1 | Not reported |
| Ubuntu | expat | deb | 16.04 | 2.1.0-7ubuntu0.16.04.2 | Not reported | USN-3010-1 | Not reported |
| Suse | expat | rpm | linux enterprise desktop 12 sp1 | 2.1.0-20.2 | Not reported | SUSE-SU-2017:0424-1 | Not reported |
| Suse | expat | rpm | linux enterprise desktop 12 sp2 | 2.1.0-20.2 | Not reported | SUSE-SU-2017:0424-1 | Not reported |
| Suse | expat | rpm | linux enterprise server for raspberry pi 12 sp2 | 2.1.0-20.2 | Not reported | SUSE-SU-2017:0424-1 | Not reported |
| Suse | expat | rpm | linux enterprise software development kit 12 sp1 | 2.1.0-20.2 | Not reported | SUSE-SU-2017:0424-1 | Not reported |
| Suse | expat | rpm | linux enterprise software development kit 12 sp2 | 2.1.0-20.2 | Not reported | SUSE-SU-2017:0424-1 | Not reported |
| Suse | expat | rpm | linux enterprise server 12 sp1 | 2.1.0-20.2 | Not reported | SUSE-SU-2017:0424-1 | Not reported |
| Suse | expat | rpm | linux enterprise server for sap applications 12 sp1 | 2.1.0-20.2 | Not reported | SUSE-SU-2017:0424-1 | Not reported |
| Suse | expat | rpm | linux enterprise server 12 sp2 | 2.1.0-20.2 | Not reported | SUSE-SU-2017:0424-1 | Not reported |
| Suse | expat | rpm | linux enterprise server for sap applications 12 sp2 | 2.1.0-20.2 | Not reported | SUSE-SU-2017:0424-1 | Not reported |
| Suse | expat | rpm | linux enterprise software development kit 11 sp4 | 2.0.1-88.41.1 | Not reported | SUSE-SU-2017:0415-1 | Not reported |
| Suse | expat | rpm | linux enterprise server 11 sp4 | 2.0.1-88.41.1 | Not reported | SUSE-SU-2017:0415-1 | Not reported |
| Suse | expat | rpm | linux enterprise server for sap applications 11 sp4 | 2.0.1-88.41.1 | Not reported | SUSE-SU-2017:0415-1 | Not reported |
| Suse | expat | rpm | studio onsite 1.3 | 2.0.1-88.41.1 | Not reported | SUSE-SU-2017:0415-1 | Not 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 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
- [libexpat1]Unknown
Source package: [expat]
Details (4)
2.5.0-1+deb12u2· amd64 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
- [libexpat1-dev]Unknown
Source package: [expat]
Details (4)
2.5.0-1+deb12u2· amd64 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · bookworm; dsa · expat · debian · 12
- [libxmltok1]Unknown
Source package: [libxmltok]
Details (2)
1.2-4· amd64 · bookwormAffected
dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12
1.2-4· arm64 · bookwormAffected
dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12
- [libxmltok1-dev]Unknown
Source package: [libxmltok]
Details (2)
1.2-4· amd64 · bookwormAffected
dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12
1.2-4· arm64 · bookwormAffected
dsa · libxmltok · debian · bookworm; dsa · libxmltok · debian · 12
[Debian 13 (Trixie)]
- [expat]Unknown
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
- [libexpat1]Unknown
Source package: [expat]
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
- [libexpat1-dev]Unknown
Source package: [expat]
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.1.1-3dsa · expat · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2017_0415-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2012-6702]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2012-6702]
- [https://osv.dev/vulnerability/DLA-508-1]
- [https://osv.dev/vulnerability/DSA-3597-1]
- [https://osv.dev/vulnerability/SUSE-SU-2017:0415-1]
- [https://osv.dev/vulnerability/SUSE-SU-2017:0424-1]
- [https://osv.dev/vulnerability/USN-3010-1]
- [https://security-tracker.debian.org/tracker/CVE-2012-6702]
- [https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-6702.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]