Skip to main content

RT-Thread CVE-2026-14606

| EUVDEUVD-2026-41563 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-07-03 VulDB GHSA-q2qc-v4ph-4mrq
7.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access to CAN interface
  2. Delivery
    Craft malformed CAN frame
  3. Exploit
    Trigger overflow in CAN_Receive
  4. Execution
    Overwrite stack return address
  5. Impact
    Execute code or crash RTOS task

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access to the target device and the ability to feed data through the Synwit SWM341 CAN receive path - i.e., the firmware must be built with the SWM341 BSP and actively using the SWM341 CAN handler / CAN_Receive function, and the attacker must be able to inject or manipulate CAN frames reaching that handler. Per the CVSS vector (AV:L, PR:L), it is not remotely exploitable and needs low-level privileges/local proximity rather than a network path; no user interaction is required (UI:N). Limiting factors: only RT-Thread builds targeting the Synwit SWM341 microcontroller with CAN enabled are affected, and the attacker must reach the CAN bus/interface, so devices not using this specific BSP or CAN peripheral are not exposed.

Impact

The vendor-supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) describes a local, low-complexity attack requiring low privileges but no user interaction, with high impact to confidentiality, integrity, and availability of the vulnerable system - hence the 7.1 score. The local attack vector is the dominant limiting factor: an attacker needs local access to the CAN interface or the ability to inject frames onto the bus, so this is not remotely exploitable over a network and does not lend itself to mass, automatable exploitation. Publicly available exploit code raises the practical risk for targeted scenarios, but this is not listed in CISA KEV and no EPSS score was provided, so there is no evidence of widespread active exploitation - the signals point to a real but access-gated, likely-targeted issue rather than an internet-scale emergency. The affected code path is a niche vendor BSP (Synwit SWM341), further narrowing real-world exposure.

Exploit ScenarioDerived

An attacker with local access to the device or its CAN bus crafts a malformed CAN frame (or manipulates the received length/data) that is processed by CAN_Receive, overrunning the fixed-size stack buffer. Given CVSS AV:L/AC:L, the attack is low-complexity but requires local proximity to the interface; the overflow overwrites the stack to crash the RTOS task or hijack control flow. Public exploit code is already available, lowering the barrier for a capable local attacker to reproduce the condition.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 03, 2026

Stack-based buffer overflow in RT-Thread RTOS (versions up to and including 5.0.2) affects the CAN_Receive function within the Synwit SWM341 board support package's CAN handler, allowing a local low-privileged attacker to corrupt the stack and potentially achieve code execution or crash the device. The flaw carries a CVSS 4.0 base score of 7.1, and publicly available exploit code exists. The vendor was contacted but did not respond, and there is no public evidence of active exploitation.

Earlier versions of this analysis (2)
v2 Jul 03, 2026 - 20:28 cvss changed CVSS 7.1

Stack-based buffer overflow in RT-Thread RTOS (versions up to and including 5.0.2) resides in the CAN_Receive function within the SWM341 CAN handler board support package (bsp/synwit/libraries/SWM341_CSL), allowing a local attacker with low privileges to corrupt the stack and potentially execute arbitrary code or crash the affected embedded device. Publicly available exploit code exists (published via a RT-Thread GitHub issue and cataloged by VulDB), but there is no public exploit identified as being used in active campaigns and it is not listed in CISA KEV. The vendor was contacted early but did not respond, so no coordinated fix is confirmed.

v1 Jul 03, 2026 - 20:15 CVSS 8.5

Stack-based buffer overflow in RT-Thread RTOS (versions up to and including 5.0.2) resides in the CAN_Receive function of the Synwit SWM341 CAN handler (bsp/synwit/libraries/SWM341_CSL/CMSIS/DeviceSupport/SWM341.h), where an attacker with local low-privilege access can corrupt the stack and achieve high-impact compromise of confidentiality, integrity, and availability. Publicly available exploit code exists, and the CVSS 4.0 vector carries an Exploit Maturity of Proof-of-Concept (E:P); however, there is no public exploit identified as being used in active attack campaigns and it is not in CISA KEV. The vendor was contacted early but did not respond, so no coordinated fix is confirmed.

RemediationAI

No vendor-released patched version has been identified at time of analysis; the vendor was contacted early but did not respond, and the referenced GitHub issue (https://github.com/RT-Thread/rt-thread/issues/11425) documents the bug rather than a tagged fixed release, so a released patched version is not independently confirmed. Monitor the upstream repository (https://github.com/RT-Thread/rt-thread/) for a commit or release addressing CAN_Receive and rebuild firmware once available. As compensating controls, if you do not use the Synwit SWM341 CAN peripheral, disable or exclude the SWM341 CAN handler from the build to remove the vulnerable code path entirely; restrict physical and logical access to the CAN bus and the device's local interfaces so untrusted parties cannot inject frames (trade-off: may complicate legitimate diagnostics/tooling); and add application-layer validation of CAN frame length/DLC before it reaches the vulnerable buffer. Because CAN is a bus-level protocol, network segmentation of the CAN domain and gateway filtering reduce exposure but do not fix the underlying overflow.

Affected VersionsENISA

RT-Thread 5.0.0
RT-Thread 5.0.2
RT-Thread 5.0.1

Affected Packages

euvd rt_thread no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RT-Thread is a widely used open-source real-time operating system (RTOS) for embedded and IoT devices. The defect resides in bsp/synwit/libraries/SWM341_CSL/CMSIS/DeviceSupport/SWM341.h, part of the CMSIS device-support layer for the Synwit SWM341 microcontroller, specifically in the CAN_Receive routine that handles inbound Controller Area Network (CAN) bus frames. The root cause is CWE-121 (stack-based buffer overflow): the function writes attacker-influenced CAN message data into a fixed-size stack buffer without adequate bounds checking, so a manipulated frame or receive length can overrun the buffer and overwrite adjacent stack memory including saved registers and return addresses. On typical MCU targets without stack canaries, ASLR, or memory protection, such an overflow directly threatens control-flow integrity.

Know when Rt Thread gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 7.1 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
vuln.today AI 7.8 HIGH

Local CAN-path access with low privileges and no user interaction (AV:L/PR:L/UI:N); stack overflow enabling code execution gives high C/I/A on the single MCU system (S:U).

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jul 03, 2026 - 20:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 03, 2026 - 20:28 vuln.today
v2 - CVSS changed
CVSS changed
Jul 03, 2026 - 20:22 NVD
8.5 (HIGH) 7.1 (HIGH)

DescriptionCVE.org

A security flaw has been discovered in RT-Thread up to 5.0.2. Affected by this issue is the function CAN_Receive in the library bsp/synwit/libraries/SWM341_CSL/CMSIS/DeviceSupport/SWM341.h of the component SWM341 CAN Handler. Performing a manipulation results in stack-based buffer overflow. The attack needs to be approached locally. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Executive ViewAI

Why It Matters

RT-Thread RTOS versions 5.0.2 and earlier contain a stack buffer overflow in CAN message handling (Synwit SWM341 support package) allowing local low-privileged attackers to crash devices or execute code, impacting embedded systems and IoT platforms in industrial and automotive deployments. Publicly available exploit code exists; no vendor-released patch identified at time of analysis. Organizations must immediately inventory and isolate affected systems to prevent operational disruption or unauthorized access.

Business Impact: High
Compensating Controls

Restrict local and physical access to affected RT-Thread RTOS devices; disable or isolate CAN interface if operations permit; implement network segmentation and firewall rules to prevent lateral movement from compromised devices; enforce multi-factor authentication on device management interfaces; deploy intrusion detection monitoring for CAN bus anomalies; maintain encrypted, offline backups of device configurations and firmware; establish device reboot procedures as a temporary disruption measure.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
niche Synwit SWM341 board support package within RT-Thread RTOS
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

CVE-2025-5865 HIGH POC
8.0 Jun 09

Critical memory corruption vulnerability in RT-Thread 5.1.0's sys_select syscall handler that allows authenticated local

CVE-2025-5867 HIGH POC
8.0 Jun 09

Critical null pointer dereference vulnerability in RT-Thread 5.1.0's lwp_syscall.c csys_sendto function, allowing authen

CVE-2025-5869 HIGH POC
8.0 Jun 09

Critical memory corruption vulnerability in RT-Thread 5.1.0's sys_recvfrom syscall handler that allows authenticated loc

CVE-2025-5866 HIGH POC
8.0 Jun 09

A security vulnerability in A vulnerability classified as critical (CVSS 8.0). Risk factors: public PoC available.

CVE-2025-5868 HIGH POC
8.0 Jun 09

Critical array index validation vulnerability in RT-Thread 5.1.0's signal mask syscall handler that allows authenticated

CVE-2025-6693 HIGH POC
7.8 Jun 26

A vulnerability, which was classified as critical, was found in RT-Thread up to 5.1.0. This affects the function sys_dev

CVE-2026-14605 HIGH POC
7.1 Jul 03

Stack-based buffer overflow in RT-Thread RTOS (versions up to and including 5.0.2) affects the recvmsg function within t

CVE-2024-25393 CRITICAL
9.8 Mar 27

A stack buffer overflow occurs in net/at/src/at_server.c in RT-Thread through 5.0.2. Rated critical severity (CVSS 9.8),

CVE-2026-14607 MEDIUM POC
5.4 Jul 03

Memory corruption in RT-Thread's Linux-compatible process (lwp) syscall layer allows a local low-privileged user to cras

CVE-2025-1115 MEDIUM POC
4.8 Feb 08

A vulnerability classified as problematic was found in RT-Thread up to 5.1.0. Rated medium severity (CVSS 4.8), this vul

CVE-2024-25395 HIGH
8.8 Mar 27

A buffer overflow occurs in utilities/rt-link/src/rtlink.c in RT-Thread through 5.0.2. Rated high severity (CVSS 8.8), t

CVE-2024-25391 HIGH
8.4 Mar 27

A stack buffer overflow occurs in libc/posix/ipc/mqueue.c in RT-Thread through 5.0.2. Rated high severity (CVSS 8.4), th

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy