expat: Using XML_Parse before rand() results into non-random output
Published Jun 16, 2016
5.9
MEDIUMCVSS 3.0
EPSS 2.37%
Description
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.
Affected products
No data.
Configuration 1
- < 2.2.0
Configuration 2
- 12.04
- 14.04
- 15.10
- 16.04
- 8.0
- 4.4.4
- 5.0.2
- 5.1.1
- 6.0
- 6.0.1
No data.
Red Hat Directory Server 8
expat
Under investigation
Red Hat Enterprise Linux 5
expat
Will not fix
Red Hat Enterprise Linux 5
firefox
Not affected
Red Hat Enterprise Linux 5
thunderbird
Not affected
Red Hat Enterprise Linux 5
xmlrpc-c
Will not fix
Red Hat Enterprise Linux 5
xulrunner
Not affected
Red Hat Enterprise Linux 6
compat-expat1
Not affected
Red Hat Enterprise Linux 6
expat
Will not fix
Red Hat Enterprise Linux 6
firefox
Not affected
Red Hat Enterprise Linux 6
thunderbird
Not affected
Red Hat Enterprise Linux 6
xulrunner
Not affected
Red Hat Enterprise Linux 7
expat
Will not fix
Red Hat Enterprise Linux 7
firefox
Not affected
Red Hat Enterprise Linux 7
thunderbird
Not affected
Red Hat Enterprise Linux 7
xulrunner
Not affected
Red Hat JBoss Core Services
expat
Not affected
Red Hat JBoss Enterprise Application Platform 6
expat
Will not fix
Red Hat JBoss Enterprise Web Server 2
expat
Will not fix
Red Hat JBoss Enterprise Web Server 3
expat
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Directory Server 8 | expat | Under investigation | n/a |
| Red Hat Enterprise Linux 5 | expat | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | firefox | Not affected | n/a |
| Red Hat Enterprise Linux 5 | thunderbird | Not affected | n/a |
| Red Hat Enterprise Linux 5 | xmlrpc-c | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | xulrunner | Not affected | n/a |
| Red Hat Enterprise Linux 6 | compat-expat1 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | expat | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | firefox | Not affected | n/a |
| Red Hat Enterprise Linux 6 | thunderbird | Not affected | n/a |
| Red Hat Enterprise Linux 6 | xulrunner | Not affected | n/a |
| Red Hat Enterprise Linux 7 | expat | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | firefox | Not affected | n/a |
| Red Hat Enterprise Linux 7 | thunderbird | Not affected | n/a |
| Red Hat Enterprise Linux 7 | xulrunner | Not affected | n/a |
| Red Hat JBoss Core Services | expat | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | expat | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 2 | expat | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 3 | expat | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.37% (0.02371) | 83.21th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.37% (0.02371) | 81.57th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.60% (0.00596) | 67.46th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.22% (0.00224) | 61.60th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.22% (0.00224) | 60.55th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.49% (0.00488) | 72.31th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.18% (0.01183) | 61.76th | v2 (v2022.01.01) |
| Oct 19, 2022 | 1.18% (0.01183) | 60.79th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.18% (0.01183) | 58.77th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.18% (0.01183) | 35.15th | v2 (v2022.01.01) |
References (12)
- http://www.debian.org/security/2016/dsa-3597 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2016/06/03/8 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2016/06/04/1 mailing-listx_refsource_MLIST
- http://www.securityfocus.com/bid/91483 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/USN-3010-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2012-6702 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1319731 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2012-6702
- https://security.gentoo.org/glsa/201701-21 vendor-advisoryx_refsource_GENTOO
- https://source.android.com/security/bulletin/2016-11-01.html x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2012-6702
- https://www.tenable.com/security/tns-2016-20 x_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| http://www.debian.org/security/2016/dsa-3597 | vendor-advisoryx_refsource_DEBIAN | |
| http://www.openwall.com/lists/oss-security/2016/06/03/8 | mailing-listx_refsource_MLIST | |
| http://www.openwall.com/lists/oss-security/2016/06/04/1 | mailing-listx_refsource_MLIST | |
| http://www.securityfocus.com/bid/91483 | vdb-entryx_refsource_BID | |
| http://www.ubuntu.com/usn/USN-3010-1 | vendor-advisoryx_refsource_UBUNTU | |
| https://access.redhat.com/security/cve/CVE-2012-6702 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1319731 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2012-6702 | ||
| https://security.gentoo.org/glsa/201701-21 | vendor-advisoryx_refsource_GENTOO | |
| https://source.android.com/security/bulletin/2016-11-01.html | x_refsource_CONFIRM | |
| https://www.cve.org/CVERecord?id=CVE-2012-6702 | ||
| https://www.tenable.com/security/tns-2016-20 | x_refsource_CONFIRM |
Change history (0)
No recorded changes yet.