Description
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.
References (4)
Scores
CVSS v3
7.5
EPSS
0.0054
EPSS Percentile
67.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-331
Status
published
Products (3)
gnu/gcc
< 7.5.0
opensuse/leap
15.0
opensuse/leap
15.1
Published
Sep 02, 2019
Tracked Since
Feb 18, 2026