CVEfocus › CVE database › CVE-2025-7394

CVE-2025-7394

CVSS 7.0 HighEPSS 0.7% (higher than 48% of CVEs)Published 2025-07-18Updated 2025-07-21Assigner: wolfSSL

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.

CWE-200

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

2Fixed
4Fix pending
3Under investigation
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10wolfsslFix pendingUBUNTU-CVE-2025-7394
Ubuntu 26.04wolfsslUnder investigationUBUNTU-CVE-2025-7394
Ubuntu 25.10wolfsslWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-7394
Ubuntu 24.04wolfsslUnder investigationUBUNTU-CVE-2025-7394
Ubuntu 22.04wolfsslUnder investigationUBUNTU-CVE-2025-7394
Ubuntu 20.04wolfsslFix pendingUBUNTU-CVE-2025-7394
Ubuntu 18.04wolfsslFix pendingUBUNTU-CVE-2025-7394
Ubuntu 16.04wolfsslFix pendingUBUNTU-CVE-2025-7394
Debian 13wolfsslFixed5.7.2-0.1+deb13u1DEBIAN-CVE-2025-7394
Debian 12wolfsslFixed5.5.4-2+deb12u2DEBIAN-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.

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.