CVE-2025-7394
BaseFortify
Publication date: 2025-07-18
Last updated on: 2025-12-03
Assigner: wolfSSL Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wolfssl | wolfssl | From 3.15.0 (inc) to 5.8.0 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-200 | The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. |
| CWE-338 | The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the OpenSSL compatibility layer's RAND_poll() function, which does not behave as expected after a fork() system call. As a result, applications that call RAND_bytes() after fork() may generate predictable or weak random numbers. This affects only applications explicitly using RAND_bytes() after fork() and does not impact internal TLS operations. wolfSSL has made changes to reseed the random number generator after fork() to mitigate this issue.
How can this vulnerability impact me? :
If your application uses RAND_bytes() to generate random numbers and performs fork() operations without properly reseeding the random number generator, it may produce predictable random values. This can weaken cryptographic operations relying on randomness, potentially compromising security features such as key generation, session tokens, or other cryptographic elements that depend on strong randomness.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update to the latest version of wolfSSL, which includes a code change that reseeds the Hash-DRBG after detecting a fork, ensuring RAND_bytes() behaves securely. Additionally, avoid using RAND_bytes() after fork() without first calling RAND_poll(), as documented in OpenSSL.