CVE-2024-25389
7.5high
RT-Thread through 5.0.2 generates random numbers with a weak algorithm of "seed = 214013L seed + 2531011L; return (seed 16) & 0x7FFF;" in c…
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.82% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| rt-thread rt-thread | up to 5.0.2 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
RT-Thread hasta 5.0.2 genera números aleatorios con un algoritmo débil de "seed = 214013L * seed + 2531011L; return (seed >> 16) & 0x7FFF;" en calc_random en drivers/misc/rt_random.c.
References
| https://github.com/RT-Thread/rt-thread/issues/8283 | issue-tracking, mitigation | |
| https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt | third-party-advisory | |
| https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/ | third-party-advisory | |
| https://seclists.org/fulldisclosure/2024/Mar/28 | mailing-list | |
| http://www.openwall.com/lists/oss-security/2024/03/05/1 | issue-tracking, mailing-list | |
| http://seclists.org/fulldisclosure/2024/Mar/28 | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-25389 changed 2025-11-04 | CVE Terms of Use |
| NVD | CVE-2024-25389 changed 2026-06-17 | Public domain |