Skip to main content
VulnerabilityPublished Updated

CVE-2024-25391: rt-thread · Stack-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, 12:54 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

  1. Monitor RT-Thread vendor communications closely and apply security patches immediately once available to address CVE-2024-25391.
  2. Restrict local access to devices running RT-Thread by enforcing strict physical security controls and network segmentation to limit attacker proximity.
  3. Implement runtime protections such as stack canaries, address space layout randomization (ASLR), and memory protection units (MPUs) where supported by the hardware and RTOS configuration.
  4. Conduct thorough code audits and static analysis on custom RT-Thread applications to identify and remediate similar buffer overflow risks.
  5. Employ intrusion detection systems and anomaly detection to monitor for unusual local activity indicative of exploitation attempts.
  6. Educate operational technology (OT) and embedded system teams about the risks of local vulnerabilities and the importance of secure device management.
  7. Where feasible, isolate critical RT-Thread devices from less secure network segments to reduce attack surface.
  8. Consider deploying endpoint protection solutions tailored for embedded systems that can detect exploitation behaviors.

Description

A stack buffer overflow occurs in libc/posix/ipc/mqueue.c in RT-Thread through 5.0.2.

References

Community reviews

Loading reviews…