Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-11671
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:54 UTC · Revision 1

Source evidence

CVE-2017-11671

core-osv · Original source

Published 26 Jul 2017, 21:29 UTC

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.

osv:CVE-2017-11671
Complete source record
{
  "id": "38d93397205fbafb464d21a24e8b1de30c5b4f843483cee643e75ee468545c74",
  "url": "https://osv.dev/vulnerability/CVE-2017-11671",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-11671",
    "summary": "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.",
    "evidence": "osv:CVE-2017-11671",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-11671",
      "aliases": [
        "CVE-2017-11671"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gcc-mirror/gcc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7a3af1a36b1965ae3d60e1f397a0d3ca17619d43"
                },
                {
                  "last_affected": "91c632c88994dca583bcd94e39cd3eba1506ecfe"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:4.6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.6"
                      },
                      {
                        "last_affected": "4.6"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:4.7:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.7"
                      },
                      {
                        "last_affected": "4.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:4.8:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.8"
                      },
                      {
                        "last_affected": "4.8"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:4.9:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.9"
                      },
                      {
                        "last_affected": "4.9"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:5.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.1"
                      },
                      {
                        "last_affected": "5.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:5.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.2"
                      },
                      {
                        "last_affected": "5.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:5.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.3"
                      },
                      {
                        "last_affected": "5.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:5.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.4"
                      },
                      {
                        "last_affected": "5.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:6.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.1"
                      },
                      {
                        "last_affected": "6.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:6.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.2"
                      },
                      {
                        "last_affected": "6.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:6.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.3"
                      },
                      {
                        "last_affected": "6.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.6",
            "4.7",
            "4.8",
            "4.9",
            "5.1",
            "5.2",
            "5.3",
            "5.4",
            "6.1",
            "6.2",
            "6.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11671.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:46.151864620Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2018:0849",
        "https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80180",
        "https://gcc.gnu.org/ml/gcc-patches/2017-03/msg01349.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:gnu:gcc:5.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnu:gcc:6.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "gnu:gcc",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.0"
                  },
                  {
                    "last_affected": "5.0"
                  },
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-11671",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436269,
  "published_at": "2017-07-26T21:29:00.207+00:00"
}