gcc: GCC generates incorrect code for RDRAND/RDSEED intrinsics
Published Jul 26, 2017
5.6
MEDIUMCVSS 3.0
EPSS 0.44%
Description
Under certain circumstances, the ix86_expand_builtin function in i386.c in GNU Compiler Collection (GCC) version 4.6, 4.7, 4.8, 4.9, 5 before 5.5, and 6 before 6.4 will generate instruction sequences that clobber the status flag of the RDRAND and RDSEED intrinsics before it can be read, potentially causing failures of these instructions to go unreported. This could potentially lead to less randomness in random number generation.
Affected products
No data.
- 4.6
- 4.7
- 4.8
- 4.9
- 5.0
- 5.1
- 5.2
- 5.3
- 5.4
- 6.0
- 6.1
- 6.2
- 6.3
No data.
Red Hat Enterprise Linux 7
gcc-0:4.8.5-28.el7
Fixed · RHSA-2018:0849
Red Hat Enterprise Linux 5
compat-gcc-295
Not affected
Red Hat Enterprise Linux 5
compat-gcc-296
Not affected
Red Hat Enterprise Linux 5
compat-gcc-32
Not affected
Red Hat Enterprise Linux 5
compat-gcc-34
Not affected
Red Hat Enterprise Linux 5
gcc
Not affected
Red Hat Enterprise Linux 5
gcc44
Not affected
Red Hat Enterprise Linux 6
compat-gcc-295
Not affected
Red Hat Enterprise Linux 6
compat-gcc-296
Not affected
Red Hat Enterprise Linux 6
compat-gcc-32
Not affected
Red Hat Enterprise Linux 6
compat-gcc-34
Not affected
Red Hat Enterprise Linux 6
gcc
Not affected
Red Hat Enterprise Linux 7
compat-gcc-34
Not affected
Red Hat Enterprise Linux 7
compat-gcc-44
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | gcc-0:4.8.5-28.el7 | Fixed | RHSA-2018:0849 |
| Red Hat Enterprise Linux 5 | compat-gcc-295 | Not affected | n/a |
| Red Hat Enterprise Linux 5 | compat-gcc-296 | Not affected | n/a |
| Red Hat Enterprise Linux 5 | compat-gcc-32 | Not affected | n/a |
| Red Hat Enterprise Linux 5 | compat-gcc-34 | Not affected | n/a |
| Red Hat Enterprise Linux 5 | gcc | Not affected | n/a |
| Red Hat Enterprise Linux 5 | gcc44 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | compat-gcc-295 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | compat-gcc-296 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | compat-gcc-32 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | compat-gcc-34 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | gcc | Not affected | n/a |
| Red Hat Enterprise Linux 7 | compat-gcc-34 | Not affected | n/a |
| Red Hat Enterprise Linux 7 | compat-gcc-44 | Not affected | 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:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
AV:L/AC:L/Au:N/C:P/I:N/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
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.44% (0.00442) | 36.11th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.44% (0.00442) | 35.00th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.08% (0.00081) | 21.48th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.16% (0.00159) | 53.72th | v3 (v2023.03.01) |
| Jun 26, 2024 | 0.16% (0.00159) | 52.63th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.16% (0.00159) | 50.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.25% (0.01247) | 30.57th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.25% (0.01247) | 0.00th | v1 |
References (9)
- http://openwall.com/lists/oss-security/2017/07/27/2 x_refsource_CONFIRMMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/100018 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:0849 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-11671 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1475733 Issue Tracking
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80180 x_refsource_CONFIRMIssue TrackingVendor Advisory
- https://gcc.gnu.org/ml/gcc-patches/2017-03/msg01349.html x_refsource_CONFIRMMailing List
- https://nvd.nist.gov/vuln/detail/CVE-2017-11671
- https://www.cve.org/CVERecord?id=CVE-2017-11671
| Link | Providers | Tags |
|---|---|---|
| http://openwall.com/lists/oss-security/2017/07/27/2 | x_refsource_CONFIRMMailing ListThird Party Advisory | |
| http://www.securityfocus.com/bid/100018 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2018:0849 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2017-11671 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1475733 | Issue Tracking | |
| https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80180 | x_refsource_CONFIRMIssue TrackingVendor Advisory | |
| https://gcc.gnu.org/ml/gcc-patches/2017-03/msg01349.html | x_refsource_CONFIRMMailing List | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-11671 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-11671 |
Change history (0)
No recorded changes yet.