CVE-2024-25389 json
RT-Thread through 5.0.2 generates random numbers with a weak algorithm of "seed = 214013L * seed + 2531011L; return (seed >> 16) & 0x7FFF;"…
published 2024-03-27 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-22722
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.82% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected products
- rt-thread rt-thread
Classification
- Weakness
-
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
-
github.com
/RT-Thread/rt-thread/issues/8283
issue-tracking, mitigation
-
github.com
/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt
third-party-advisory
-
security.humanativaspa.it
/multiple-vulnerabilities-in-rt-thread-rtos/
third-party-advisory
-
seclists.org
/fulldisclosure/2024/Mar/28
mailing-list
-
openwall.com
/lists/oss-security/2024/03/05/1
mailing-list, issue-tracking
- seclists.org /fulldisclosure/2024/Mar/28
Sources
- CVE List CVE-2024-25389
- NVD CVE-2024-25389
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.