cve.bz

CVE-2017-11671 gnu gcc

4.0 mediumEPSS 0.5%

Medium (4.0) in gnu gcc. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

4.0 medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-26. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-11671 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-11671?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-11671?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-11671 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
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

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu14.04:LTSgcc-3.3, gcc-4.7, gcc-4.8 and 2 moreno fix listedUBUNTU-CVE-2017-11671
Ubuntu16.04:LTSgcc-3.3, gcc-4.7, gcc-4.8 and 17 moreno fix listedUBUNTU-CVE-2017-11671
Ubuntu18.04:LTSgcc-3.3, gcc-4.8, gcc-avr and 5 moreno fix listedUBUNTU-CVE-2017-11671
Ubuntu20.04:LTS, 22.04:LTSgcc-3.3, gcc-avr, gcc-msp430 and 4 moreno fix listedUBUNTU-CVE-2017-11671
Ubuntu24.04:LTSgcc-3.3, gcc-avr, gcc-h8300-hms and 2 moreno fix listedUBUNTU-CVE-2017-11671
Ubuntu25.10, 26.04:LTS, 26.10gcc-avr, gcc-h8300-hms, gcc-mingw-w64 and 1 moreno fix listedUBUNTU-CVE-2017-11671
UbuntuPro:16.04:LTSgcc-55.4.0-6ubuntu1~16.04.12+esm2UBUNTU-CVE-2017-11671 USN-5770-1
UbuntuPro:16.04:LTSgccgo-66.0.1-0ubuntu1+esm1UBUNTU-CVE-2017-11671 USN-5770-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morecpp, gcc, libgo and 38 more0:4.8.5-28.el7RHSA-2018:0849
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Desktop 12 SP3gcc48, libgcj484.8.5-31.3.1SUSE-SU-2017:2526-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12 SP2, Linux Enterprise Server 12 SP3 and 6 moregcc484.8.5-31.3.1SUSE-SU-2017:2526-1
SUSELinux Enterprise Software Development Kit 11 SP4gcc484.8.5-5.3.1SUSE-SU-2017:2380-1
SUSELinux Enterprise Software Development Kit 12 SP2, Linux Enterprise Software Development Kit 12 SP3gcc48, libffi48, libgcj484.8.5-31.3.1SUSE-SU-2017:2526-1
SUSELinux Enterprise Workstation Extension 12 SP2, Linux Enterprise Workstation Extension 12 SP3libgcj484.8.5-31.3.1SUSE-SU-2017:2526-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7gcc-0:4.8.5-28.el7Fixed 2018-04-10RHSA-2018:0849
Red Hat Enterprise Linux 5compat-gcc-295Not affected
Red Hat Enterprise Linux 5compat-gcc-296Not affected
Red Hat Enterprise Linux 5compat-gcc-32Not affected
Red Hat Enterprise Linux 5compat-gcc-34Not affected
Red Hat Enterprise Linux 5gccNot affected
Red Hat Enterprise Linux 5gcc44Not affected
Red Hat Enterprise Linux 6compat-gcc-295Not affected
Red Hat Enterprise Linux 6compat-gcc-296Not affected
Red Hat Enterprise Linux 6compat-gcc-32Not affected
Red Hat Enterprise Linux 6compat-gcc-34Not affected
Red Hat Enterprise Linux 6gccNot affected
Red Hat Enterprise Linux 7compat-gcc-34Not affected
Red Hat Enterprise Linux 7compat-gcc-44Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-11671.

References

Check your stackJSON