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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"gnu:gcc": [
"< 7.5.0",
">= 10.0, < 10.1.0",
">= 8.0, < 8.4.0",
">= 9.0, < 9.3.0"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-15847",
"id": "CVE-2019-15847",
"imported": "2026-12-03T19:33:56.568Z",
"modified": "2026-10-14T07:16:46.907Z",
"published": "2019-09-02T23:15:10.837Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2019-15847"
}
]
}