CVE-2017-11671

gcc: GCC generates incorrect code for RDRAND/RDSEED intrinsics

Published Jul 26, 2017 CVSS 3.0 · 4.0 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-3283 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.
Ubuntu USN Ubuntu USN USN-5770-1 GCC vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 6:12 PM
Reserved
Jul 26, 2017, 12:00 AM
Status
Modified
Published
Jul 26, 2017, 9:29 PM
Modified
Jun 17, 2026, 1:02 AM
Severity
Low
Public date
Mar 25, 2017, 12:00 AM