CVE-2025-7394 In the OpenSSL compatibility layer implementation, the function RAND_poll() was not behaving as expected and leading to the potential for predictable values returned from RAND_bytes() after fork() is...
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- MariaDBOpenSSLUbuntuDebian
Description
In the OpenSSL compatibility layer implementation, the function RAND_poll() was not behaving as expected and leading to the potential for predictable values returned from RAND_bytes() after fork() is called. This can lead to weak or predictable random numbers generated in applications that are both using RAND_bytes() and doing fork() operations. This only affects applications explicitly calling RAND_bytes() after fork() and does not affect any internal TLS operations. Although RAND_bytes() documentation in OpenSSL calls out not being safe for use with fork() without first calling RAND_poll(), an additional code change was also made in wolfSSL to make RAND_bytes() behave similar to OpenSSL after a fork() call without calling RAND_poll(). Now the Hash-DRBG used gets reseeded after detecting running in a new process. If making use of RAND_bytes() and calling fork() we recommend updating to the latest version of wolfSSL. Thanks to Per Allansson from Appgate for the report.
Upgrade path
9 packages: 3 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MariaDB Server(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| MariaDB Server(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/wolfssl(Debian 12) | < 5.5.4-2+deb12u2; = 5.5.4-2; = 5.5.4-2+deb12u1 | 5.5.4-2+deb12u2 | Fixed |
| debian/wolfssl(Debian 13) | < 5.7.2-0.1+deb13u1; = 5.7.2-0.1 | 5.7.2-0.1+deb13u1 | Fixed |
| wolfSSL | >= 3.15.0, <= 5.8.0 | after 5.8.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MariaDB Server(CBL-Mariner:2.0) | All versions | No fix listed |
| MariaDB Server(Azure Linux:3.0) | All versions | No fix listed |
| debian/wolfssl(Debian:12) | < 5.5.4-2+deb12u2 | 5.5.4-2+deb12u2 |
| debian/wolfssl(Debian:12) | = 5.5.4-2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2+deb12u1 | No fix listed |
| debian/wolfssl(Debian:13) | < 5.7.2-0.1+deb13u1 | 5.7.2-0.1+deb13u1 |
| debian/wolfssl(Debian:13) | = 5.7.2-0.1 | No fix listed |
| wolfSSL | >= 3.15.0, <= 5.8.0 | No fix listed |
| ubuntu/wolfssl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/wolfssl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/wolfssl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/wolfssl(Ubuntu:26.10) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-7394 vendor-advisory
- github.com release-notes
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking