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 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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | wolfssl | Fix pending | UBUNTU-CVE-2025-7394 | |
| Ubuntu 26.04 | wolfssl | Under investigation | UBUNTU-CVE-2025-7394 | |
| Ubuntu 25.10 | wolfssl | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-7394 | |
| Ubuntu 24.04 | wolfssl | Under investigation | UBUNTU-CVE-2025-7394 | |
| Ubuntu 22.04 | wolfssl | Under investigation | UBUNTU-CVE-2025-7394 | |
| Ubuntu 20.04 | wolfssl | Fix pending | UBUNTU-CVE-2025-7394 | |
| Ubuntu 18.04 | wolfssl | Fix pending | UBUNTU-CVE-2025-7394 | |
| Ubuntu 16.04 | wolfssl | Fix pending | UBUNTU-CVE-2025-7394 | |
| Debian 13 | wolfssl | Fixed | 5.7.2-0.1+deb13u1 | DEBIAN-CVE-2025-7394 |
| Debian 12 | wolfssl | Fixed | 5.5.4-2+deb12u2 | DEBIAN-CVE-2025-7394 |
What the vendor says
As published in the CVE record by wolfSSL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- wolfSSL: affected: 3.15.0 to 5.8.0
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.