Skip to main content
VulnerabilityPublished Updated

CVE-2024-25394: rt-thread · Classic Buffer Overflow

Affects rt-threadSource CVE Database V5

0

Not known to be exploited · CVSS 4.3 Medium.

Data as of 26 Oct 2026, 11:42 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Mar 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubrt-thread/rt-threadpkg:github/rt-thread/rt-threadOther threatsAffected
  • <=5.0.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should implement the following specific mitigations: 1) Conduct an inventory of all devices running RT-Thread, focusing on versions up to 5.0.2, especially those using the ymodem utility. 2) Monitor vendor communications for patches or updates addressing CVE-2024-25394 and apply them promptly once available. 3) Perform code audits or static analysis on custom RT-Thread implementations to detect similar unsafe sprintf usage or missing null terminators. 4) Restrict network access to embedded devices, employing network segmentation and firewall rules to limit exposure of vulnerable services. 5) Employ runtime protections such as stack canaries, address space layout randomization (ASLR), and control flow integrity (CFI) where supported by the device. 6) Implement strict privilege separation and avoid running vulnerable utilities with elevated privileges. 7) Use intrusion detection systems tuned to detect anomalous behavior or exploitation attempts targeting RT-Thread devices. 8) Engage with device manufacturers to ensure secure firmware updates and vulnerability management processes are in place.

Description

A buffer overflow occurs in utilities/ymodem/ry_sy.c in RT-Thread through 5.0.2 because of an incorrect sprintf call or a missing '\0' character.

References

Community reviews

Loading reviews…