Skip to main content
VulnerabilityPublished Updated

CVE-2024-25390: rt-thread · Heap-based Buffer Overflow

Affects rt-threadSource CVE Database V5

0

Not known to be exploited · CVSS 8.4 High : upgrade to 5.0.3 soon.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

Upgrade rt-thread/rt-thread to 5.0.3.

Affected software

ProductAffectedFixed in
GitHubrt-thread/rt-threadpkg:github/rt-thread/rt-threadOther threatsAffected
  • <5.0.3
Fixed in
  • 5.0.3

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

AI-suggested

To mitigate CVE-2024-25390, European organizations should immediately implement strict access controls to limit local access to devices running RT-Thread, including physical security measures and network segmentation to isolate vulnerable devices. Monitoring and logging should be enhanced to detect unusual shell activity or memory corruption indicators. In the interim, disabling or restricting the finsh shell functionality where feasible can reduce the attack surface. Employing runtime protections such as stack canaries, address space layout randomization (ASLR), and memory protection units (MPUs) in embedded environments may help mitigate exploitation impact. Vendors and integrators should be engaged to accelerate patch development and deployment. Finally, incident response plans should be updated to address potential exploitation scenarios involving embedded RT-Thread devices.

Description

A heap buffer overflow occurs in finsh/msh_file.c and finsh/msh.c in RT-Thread through 5.0.2.

References

Community reviews

Loading reviews…