01 Record
CVE-2024-25389
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.
HighPUBLISHEDCNA: mitre
CNA base score7.5 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
02 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.
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.82% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 56.8% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-03-27 00:00Z2 YR AGO
- Last updated
- 2025-11-04 18:29Z11 MO AGO
- Reserved
- 2024-02-07
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-338Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)Base
- Data version
- 5.2
- Document digest
- 0e66209fdd130af69dde8c62b3771de2406c121915027a8ab2d424d036674df5
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/RT-Thread/rt-thread/issues/8283
- github.comhttps://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt
- security.humanativaspa.ithttps://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/
- seclists.orghttps://seclists.org/fulldisclosure/2024/Mar/28
- www.openwall.com[oss-security] 20240305 HNS-2024-05 - HN Security Advisory - Multiple vulnerabilities in RT-Thread RTOShttp://www.openwall.com/lists/oss-security/2024/03/05/1
- seclists.orghttp://seclists.org/fulldisclosure/2024/Mar/28