{"id":"CVE-2024-25389","details":"RT-Thread through 5.0.2 generates random numbers with a weak algorithm of \"seed = 214013L * seed + 2531011L; return (seed \u003e\u003e 16) & 0x7FFF;\" in calc_random in drivers/misc/rt_random.c.","modified":"2026-04-10T05:10:49.685016Z","published":"2024-03-27T03:15:11.460Z","references":[{"type":"WEB","url":"http://seclists.org/fulldisclosure/2024/Mar/28"},{"type":"ADVISORY","url":"https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt"},{"type":"ADVISORY","url":"https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2024/03/05/1"},{"type":"REPORT","url":"https://github.com/RT-Thread/rt-thread/issues/8283"},{"type":"ARTICLE","url":"https://seclists.org/fulldisclosure/2024/Mar/28"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/RT-Thread/rt-thread","events":[{"introduced":"0"},{"last_affected":"4fc88fa894269c3eab3389697ff3810d3c786f32"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"5.0.2"}]}}],"versions":["v1.2.0","v2.0.0","v2.0.0_alpha","v2.0.0_beta","v2.0.0_rc","v2.1.0","v3.0.0","v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.1.0","v3.1.1","v4.0.0","v4.0.1","v4.0.2","v4.0.3","v4.1.0","v4.1.0-beta","v4.1.1","v4.1.1-beta","v5.0.0","v5.0.1","v5.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-25389.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}