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 g...
HighCVSS 7.5
EPSS 3.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gcc-9(Debian:11) | < 9.2.1-7 | 9.2.1-7 |
| ubuntu/gcc-9-cross-ports(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-snapshot(Ubuntu:24.04) | All versions | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| ubuntu/gcc-snapshot(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-snapshot(Ubuntu:26.10) | All versions | No fix listed |
| GNU gcc | < 7.5.0 | 7.5.0 |
| GNU gcc | >= 8.0, < 8.4.0 | 8.4.0 |
| GNU gcc | >= 9.0, < 9.3.0 | 9.3.0 |
| GNU gcc | >= 10.0, < 10.1.0 | 10.1.0 |
| openSUSE leap | = 15.0 | No fix listed |
| openSUSE leap | = 15.1 | No fix listed |
| ubuntu/gcc-9-cross-ports(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-snapshot(Ubuntu:22.04) | All versions | No fix listed |
| alpine/gcc(Alpine:v3.11) | >= 9.0, < 9.3.0-r0 | 9.3.0-r0 |
References
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security-tracker.debian.org vendor-advisory
- security.alpinelinux.org vendor-advisory
- gcc.gnu.org issue-tracking vendor-advisory
- openSUSE-SU-2019:2364 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2019:2365 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2020:0716 mailing-list third-party-advisory vendor-advisory
- cert-portal.siemens.com