Skip to content
Noroxi
CVE-2017-11671· NVD / CVE Program· CNA mitre

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 befor

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.

MediumCVSS 4.0 · v3.0—No exploit Fix available
Published
Jul 26, 2017
Updated
Jun 16, 2026
EPSS
0.4% · 36th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

16

Monitor

Low priority for now.

CVSS
16 / 40 · 4.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.4%

Affected systems

VendorProduct
gnugcc

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
  • 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.

EcosystemPackageAffected rangeFix
Red Hat:enterprise_linux:7::clientcppbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientgccbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientgcc-base-debuginfobefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientgcc-c++before 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientgcc-debuginfobefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientgcc-gfortranbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientgcc-gnatbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientgcc-gobefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientgcc-objcbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientgcc-objc++before 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientgcc-plugin-develbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibasanbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibasan-staticbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibatomicbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibatomic-staticbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibgccbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibgfortranbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibgfortran-staticbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibgnatbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibgnat-develbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibgnat-staticbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibgobefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibgo-develbefore 0:4.8.5-28.el70:4.8.5-28.el7
Red Hat:enterprise_linux:7::clientlibgo-staticbefore 0:4.8.5-28.el70:4.8.5-28.el7

+21

Same product

gnu: all records

Other 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 certain
    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 s
    31Monitor
  • CVE-2008-1367gcc 4.3.x does not generate a cld instruction while compiling functions used for string manipulation such as memcpy and memmove on x86 and i
    31Monitor
  • CVE-2008-1685gcc 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 or
    27Monitor
  • CVE-2021-3826Heap/stack buffer overflow in the dlang_lname function in d-demangle.c in libiberty allows attackers to potentially cause a denial of servic
    26Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
red hat:cpp0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:gcc0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:gcc-base-debuginfo0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:gcc-c++0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:gcc-debuginfo0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:libatomic0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:libgcc0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:libgfortran0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:libgomp0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:libitm0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:libquadmath0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:libstdc++0:4.8.5-28.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:gcc484.8.5-5.3.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:libffi484.8.5-31.3.1 · SUSE:Linux Enterprise Software Development Kit 12 SP2Package registry (OSV)
suse:libgcj484.8.5-31.3.1 · SUSE:Linux Enterprise Desktop 12 SP2Package 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.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

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

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.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records