MediumFix available
expat — security advisory
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.
- Products
- expat
- Affected versions
- Not specified
- Fixed versions
- 2.2.0-r0
- CVEs
- CVE-2012-6702
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 21:55 UTC · Revision 1
Source evidence
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.
osv:ALPINE-CVE-2012-6702
expat
Fixed versions: 2.2.0-r0
expat
Fixed versions: 2.2.0-r0
expat
Fixed versions: 2.2.0-r0
Complete source record
{
"id": "3d424ce559cdbf078a103ee106a6164cfa7ce334866ff0f75e145263619e6b8e",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2012-6702",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2012-6702",
"summary": "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.",
"evidence": "osv:ALPINE-CVE-2012-6702",
"products": [
{
"name": {
"value": "expat",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.2.0-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "expat",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.2.0-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "expat",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.2.0-r0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "ALPINE-CVE-2012-6702",
"aliases": [
"ALPINE-CVE-2012-6702"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.0-r0"
}
]
}
],
"package": {
"name": "expat",
"purl": "pkg:apk/alpine/expat?arch=source",
"ecosystem": "Alpine:v3.2"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-6702.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.0-r0"
}
]
}
],
"package": {
"name": "expat",
"purl": "pkg:apk/alpine/expat?arch=source",
"ecosystem": "Alpine:v3.3"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-6702.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.0-r0"
}
]
}
],
"package": {
"name": "expat",
"purl": "pkg:apk/alpine/expat?arch=source",
"ecosystem": "Alpine:v3.4"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-6702.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-23T17:17:54.934329405Z",
"provider": "osv",
"upstream": [
"CVE-2012-6702"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2012-6702"
]
},
"related_cves": [
{
"value": "CVE-2012-6702",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 414919,
"published_at": "2016-06-16T18:59:00.327+00:00"
}