Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-15847

The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a single call, thus reducing the entropy of the random number generator. This occurred because a volatile operation was not specified. For example, within a single execution of a program, the output of every __builtin_darn() call may be the same.

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

Source evidence

CVE-2019-15847

core-osv · Original source

Published 2 Sept 2019, 23:15 UTC

The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a single call, thus reducing the entropy of the random number generator. This occurred because a volatile operation was not specified. For example, within a single execution of a program, the output of every __builtin_darn() call may be the same.

osv:CVE-2019-15847
Complete source record
{
  "id": "d127f8707ea9533e610328fd9fe37214b33307cf2663f14d0dc04b9949268bb7",
  "url": "https://osv.dev/vulnerability/CVE-2019-15847",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-15847",
    "summary": "The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a single call, thus reducing the entropy of the random number generator. This occurred because a volatile operation was not specified. For example, within a single execution of a program, the output of every __builtin_darn() call may be the same.",
    "evidence": "osv:CVE-2019-15847",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-15847",
      "aliases": [
        "CVE-2019-15847"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gcc-mirror/gcc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b2d961e7342b5ba4e57adfa81cb189b738d10901"
                },
                {
                  "fixed": "8cd3bffead2ed1d1998c190865694f920fbc93ab"
                },
                {
                  "fixed": "4212a6a3e44f870412d9025eeb323fd4f50a61da"
                },
                {
                  "fixed": "6e6e3f144a33ae504149dc992453b4f6dea12fdb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "7.5.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0"
                      },
                      {
                        "fixed": "8.4.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.0"
                      },
                      {
                        "fixed": "9.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.0"
                      },
                      {
                        "fixed": "10.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "releases/gcc-9.2.0",
            "releases/gcc-9.1.0",
            "misc/cutover-git",
            "basepoints/gcc-10",
            "releases/gcc-8.3.0",
            "releases/gcc-7.4.0",
            "releases/gcc-8.2.0",
            "releases/gcc-8.1.0",
            "basepoints/gcc-9",
            "releases/gcc-7.3.0",
            "releases/gcc-7.2.0",
            "releases/gcc-7.1.0",
            "basepoints/gcc-8",
            "basepoints/gcc-7",
            "basepoints/gcc-6",
            "basepoints/gcc-5",
            "misc/cutover-cvs2svn",
            "misc/cutover-egcs-1",
            "misc/cutover-egcs-0",
            "basepoints/gcc-0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-15847.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:43.882596703Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
        "https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91481"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.0"
                  },
                  {
                    "last_affected": "15.0"
                  },
                  {
                    "introduced": "15.1"
                  },
                  {
                    "last_affected": "15.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-15847",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435733,
  "published_at": "2019-09-02T23:15:10.837+00:00"
}