CVE-2012-6702

Summary

CVECVE-2012-6702
StatePUBLISHED
Assignermicrofocus
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-06-16 18:59:00 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionExpat, 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.

Risk And Classification

Primary CVSS: v3.0 5.9 MEDIUM from [email protected]

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Problem Types: CWE-310 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary5.9MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 15.10 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Google Android 4.4.4 All All All
Operating System Google Android 5.0.2 All All All
Operating System Google Android 5.1.1 All All All
Operating System Google Android 6.0 All All All
Operating System Google Android 6.0.1 All All All
Application Libexpat Project Libexpat All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Expat: Multiple vulnerabilities (GLSA 201701-21) — Gentoo Security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
oss-security - Re: expat hash collision fix too predictable? af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
USN-3010-1: Expat vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Android Security Bulletin—November 2016 | Android Open Source Project af854a3a-2127-422b-91ae-364da2661108 source.android.com
Libexpat Expat CVE-2012-6702 Predictable Random Number Generator Weakness af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Debian -- Security Information -- DSA-3597-1 expat af854a3a-2127-422b-91ae-364da2661108 www.debian.org
oss-security - Re: expat hash collision fix too predictable? af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
[R2] PVS 5.2.0 Fixes Multiple Third-party Library Vulnerabilities - Security Advisory | Tenable Network Security af854a3a-2127-422b-91ae-364da2661108 www.tenable.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 710322 Gentoo Linux Expat Multiple Vulnerabilities (GLSA 201701-21)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report