CVE-2017-11671: 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…
Noroxi assessment
Priority: Monitor (action score 16/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.47% (FIRST EPSS).
- Someone with local access to the system can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: cpp (Red Hat:enterprise_linux:7::client) 0:4.8.5-28.el7; gcc (Red Hat:enterprise_linux:7::client) 0:4.8.5-28.el7; gcc-base-debuginfo (Red Hat:enterprise_linux:7::client) 0:4.8.5-28.el7.
Low priority for now. Upgrade to cpp (Red Hat:enterprise_linux:7::client) 0:4.8.5-28.el7; gcc (Red Hat:enterprise_linux:7::client) 0:4.8.5-28.el7; gcc-base-debuginfo (Red Hat:enterprise_linux:7::client) 0:4.8.5-28.el7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 26, 2017
- Updated
- Jun 16, 2026
- EPSS
- 0.4% · 41th percentile
- CWE
- CWE-338
Report tools
Action score
16
Low priority for now.
- CVSS
- 16 / 40 · 4.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gnu | gcc | cpe:2.3:a:gnu:gcc |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnu gcc4.6
- gnu gcc4.7
- gnu gcc4.8
- gnu gcc4.9
- gnu gcc5.0
- gnu gcc5.1
- gnu gcc5.2
- gnu gcc5.3
+5 more rows
- gnu gcc5.4
- gnu gcc6.0
- gnu gcc6.1
- gnu gcc6.2
- gnu gcc6.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Red Hat:enterprise_linux:7::client | cpp | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | gcc | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | gcc-base-debuginfo | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | gcc-c++ | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | gcc-debuginfo | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | gcc-gfortran | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | gcc-gnat | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | gcc-go | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | gcc-objc | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | gcc-objc++ | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | gcc-plugin-devel | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libasan | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libasan-static | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libatomic | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libatomic-static | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libgcc | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libgfortran | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libgfortran-static | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libgnat | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libgnat-devel | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libgnat-static | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libgo | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libgo-devel | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
| Red Hat:enterprise_linux:7::client | libgo-static | before 0:4.8.5-28.el7 | 0:4.8.5-28.el7 |
+21
Same product
gnu: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-12886stack_protect_prologue in cfgexpand.c and stack_protect_epilogue in function.c in GNU Compiler Collection (GCC) 4.1 through 8 (under…33Monitor
- CVE-2002-2439Integer overflow in the new[] operator in gcc before 4.8.0 allows attackers to have unspecified impacts.31Monitor
- CVE-2019-15847The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a…31Monitor
Published before and after this one in the same product
- ← EarlierCVE-2008-1685Apr 6, 2008 · gcc 4.2.0 through 4.3.0 in GNU Compiler Collection, when casts are not used, considers the sum of a pointer and an int to be greater than…27Monitor
- ← EarlierCVE-2015-5276Nov 17, 2015 · The std::random_device class in libstdc++ in the GNU Compiler Collection (aka GCC) before 4.9.4 does not properly handle short reads from…21Monitor
- Later →CVE-2021-46195Jan 14, 2022 · GCC v12.0 was discovered to contain an uncontrolled recursion via the component libiberty/rust-demangle.c.22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| red hat:cpp | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gcc | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gcc-base-debuginfo | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gcc-c++ | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:gcc-debuginfo | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libatomic | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libgcc | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libgfortran | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libgomp | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libitm | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libquadmath | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libstdc++ | 0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:gcc48 | 4.8.5-5.3.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
| suse:libffi48 | 4.8.5-31.3.1 · SUSE:Linux Enterprise Software Development Kit 12 SP2 | Package registry (OSV) |
| suse:libgcj48 | 4.8.5-31.3.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-338 · Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.