CVE-2025-7394
Last modified
CVE-2025-7394 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wolfssl | Wolfssl | >= 3.15.0, <= 5.8.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-7394?
How severe is CVE-2025-7394?
How do I fix CVE-2025-7394?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-7387The Lana Downloads Manager plugin for WordPress is vulnerabl…5.5
- CVE-2025-7388It was possible to perform Remote Command Execution (RCE) vi…8.4
- CVE-2025-7389A vulnerability in the AdminServer component of OpenEdge on …8.2
- CVE-2025-7390A malicious client can bypass the client certificate trust c…9.1
- CVE-2025-7392Improper Neutralization of Input During Web Page Generation …6.1
- CVE-2025-7393Improper Restriction of Excessive Authentication Attempts vu…9.8
- CVE-2025-7395A certificate verification error in wolfSSL when building wi…9.2
- CVE-2025-7396In wolfSSL release 5.8.2 blinding support is turned on by de…4.6
- CVE-2025-7397A vulnerability in the ascgshell, of Brocade ASCG before 3.…7.1
- CVE-2025-7398Brocade ASCG before 3.3.0 allows for the use of medium stren…9.1
- CVE-2025-7399The Betheme theme for WordPress is vulnerable to Stored Cros…6.4
- CVE-2025-7400The Featured Image from URL (FIFU) plugin for WordPress is v…6.4
Are you affected by CVE-2025-7394?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
