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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:rt-thread:rt-thread:*:*:*:*:*:*:*:*

History

04 Nov 2025, 19:16

Type Values Removed Values Added
References
  • () http://seclists.org/fulldisclosure/2024/Mar/28 -
References () http://www.openwall.com/lists/oss-security/2024/03/05/1 - Mailing List, Issue Tracking () http://www.openwall.com/lists/oss-security/2024/03/05/1 - Issue Tracking, Mailing List

Information

Published : 2024-03-27 03:15

Updated : 2025-11-04 19:16


NVD link : CVE-2024-25389

Mitre link : CVE-2024-25389

CVE.ORG link : CVE-2024-25389


JSON object : View

Products Affected

rt-thread

  • rt-thread
CWE
CWE-338

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)