{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:gnu:gcc:4.6:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnu:gcc:4.7:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnu:gcc:4.8:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnu:gcc:4.9:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnu:gcc:5.1:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnu:gcc:5.2:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnu:gcc:5.3:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnu:gcc:5.4:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnu:gcc:6.1:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnu:gcc:6.2:*:*:*:*:*:*:*",
              "cpe:2.3:a:gnu:gcc:6.3:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "4.6"
              },
              {
                "last_affected": "4.6"
              },
              {
                "introduced": "4.7"
              },
              {
                "last_affected": "4.7"
              },
              {
                "introduced": "4.8"
              },
              {
                "last_affected": "4.8"
              },
              {
                "introduced": "4.9"
              },
              {
                "last_affected": "4.9"
              },
              {
                "introduced": "5.1"
              },
              {
                "last_affected": "5.1"
              },
              {
                "introduced": "5.2"
              },
              {
                "last_affected": "5.2"
              },
              {
                "introduced": "5.3"
              },
              {
                "last_affected": "5.3"
              },
              {
                "introduced": "5.4"
              },
              {
                "last_affected": "5.4"
              },
              {
                "introduced": "6.1"
              },
              {
                "last_affected": "6.1"
              },
              {
                "introduced": "6.2"
              },
              {
                "last_affected": "6.2"
              },
              {
                "introduced": "6.3"
              },
              {
                "last_affected": "6.3"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "7a3af1a36b1965ae3d60e1f397a0d3ca17619d43"
            },
            {
              "last_affected": "91c632c88994dca583bcd94e39cd3eba1506ecfe"
            }
          ],
          "repo": "https://github.com/gcc-mirror/gcc",
          "type": "GIT"
        }
      ],
      "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": {
    "unresolved_ranges": [
      {
        "cpes": [
          "cpe:2.3:a:gnu:gcc:5.0:*:*:*:*:*:*:*",
          "cpe:2.3:a:gnu:gcc:6.0:*:*:*:*:*:*:*"
        ],
        "extracted_events": [
          {
            "introduced": "5.0"
          },
          {
            "last_affected": "5.0"
          },
          {
            "introduced": "6.0"
          },
          {
            "last_affected": "6.0"
          }
        ],
        "source": "CPE_STRING",
        "vendor_product": "gnu:gcc"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2017-11671",
  "modified": "2026-07-08T05:38:38.071151035Z",
  "published": "2017-07-26T21:29:00.207Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://openwall.com/lists/oss-security/2017/07/27/2"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/100018"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2018:0849"
    },
    {
      "type": "REPORT",
      "url": "https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80180"
    },
    {
      "type": "ARTICLE",
      "url": "https://gcc.gnu.org/ml/gcc-patches/2017-03/msg01349.html"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}