{"id":"CVE-2024-25389","aliases":["EUVD-2024-22722","GHSA-6c2g-6j82-6fjx"],"status":"published","title":"RT-Thread through 5.0.2 generates random numbers with a weak algorithm of \"seed = 214013L * seed ...","description":"RT-Thread through 5.0.2 generates random numbers with a weak algorithm of \"seed = 214013L * seed + 2531011L; return (seed \u003e\u003e 16) \u0026 0x7FFF;\" in calc_random in drivers/misc/rt_random.c.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00823,"percentile":0.5777,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-338"],"published":"2024-03-27T00:00:00Z","modified":"2026-10-28T02:30:55Z","products":[{"vendor":"rt-thread","product":"rt-thread"}],"references":[{"url":"https://github.com/RT-Thread/rt-thread/issues/8283","tags":["x_transferred","Issue Tracking","Mitigation","report"]},{"url":"https://github.com/hnsecurity/vulns/blob/main/HNS-2024-05-rt-thread.txt","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos/","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://seclists.org/fulldisclosure/2024/Mar/28","tags":["x_transferred","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/03/05/1","tags":["mailing-list","x_transferred","Issue Tracking","Mailing List","article"]},{"url":"http://seclists.org/fulldisclosure/2024/Mar/28","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25389","tags":["advisory"]},{"url":"https://security.humanativaspa.it/multiple-vulnerabilities-in-rt-thread-rtos"},{"url":"https://github.com/advisories/GHSA-6c2g-6j82-6fjx"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25389.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-25389","description":"RT-Thread through 5.0.2 generates random numbers with a weak algorithm of \"seed = 214013L * seed + 2531011L; return (seed \u003e\u003e 16) \u0026 0x7FFF;\" in calc_random in drivers/misc/rt_random.c.","status":"published","published":"2024-03-27T00:00:00Z","modified":"2025-11-04T18:29:22.347Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"adp"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T14:34:04.00829Z"}],"euvd":[{"id":"EUVD-2024-22722","description":"RT-Thread through 5.0.2 generates random numbers with a weak algorithm of \"seed = 214013L * seed + 2531011L; return (seed \u003e\u003e 16) \u0026 0x7FFF;\" in calc_random in drivers/misc/rt_random.c.","status":"published","published":"2024-03-27T00:00:00Z","modified":"2025-11-04T18:29:22Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T19:49:23.723839Z"}],"ghsa":[{"id":"GHSA-6c2g-6j82-6fjx","title":"RT-Thread through 5.0.2 generates random numbers with a weak algorithm of \"seed = 214013L * seed ...","description":"RT-Thread through 5.0.2 generates random numbers with a weak algorithm of \"seed = 214013L * seed + 2531011L; return (seed \u003e\u003e 16) \u0026 0x7FFF;\" in calc_random in drivers/misc/rt_random.c.","status":"published","published":"2024-03-27T03:31:17Z","modified":"2025-11-04T21:32:26Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T15:04:38.133233Z"}],"nvd":[{"id":"CVE-2024-25389","description":"RT-Thread through 5.0.2 generates random numbers with a weak algorithm of \"seed = 214013L * seed + 2531011L; return (seed \u003e\u003e 16) \u0026 0x7FFF;\" in calc_random in drivers/misc/rt_random.c.","status":"published","published":"2024-03-27T03:15:11.46Z","modified":"2026-06-17T07:15:56.823Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T14:09:43.052376Z"}],"osv":[{"id":"CVE-2024-25389","description":"RT-Thread through 5.0.2 generates random numbers with a weak algorithm of \"seed = 214013L * seed + 2531011L; return (seed \u003e\u003e 16) \u0026 0x7FFF;\" in calc_random in drivers/misc/rt_random.c.","status":"published","published":"2024-03-27T00:00:00Z","modified":"2026-10-28T02:30:55.068216418Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:38.897406Z"}]}}
