CVE-2024-25389
- State
- Published
- Severity
- 7.5 High
- Published
- Mar 27, 2024
- Updated
- Nov 4, 2025
- Reserved
- Feb 7, 2024
Description
RT-Thread through 5.0.2 generates random numbers with a weak algorithm of "seed = 214013L * seed + 2531011L; return (seed >> 16) & 0x7FFF;" in calc_random in drivers/misc/rt_random.c.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CISA-ADP |
Weaknesses
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://github.com/RT-Thread/rt-thread/issues/8283
- https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt
- https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/
- https://seclists.org/fulldisclosure/2024/Mar/28
- [oss-security] 20240305 HNS-2024-05 - HN Security Advisory - Multiple vulnerabilities in RT-Thread RTOSmailing-list
- http://seclists.org/fulldisclosure/2024/Mar/28
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.