Description
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.
Published: 2026-07-03
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The CVE describes a stack-based buffer overflow in the CAN_Receive routine of RT‑Thread’s SWM341_CSL library, located in bsp/synwit/libraries/SWM341_CSL/CMSIS/DeviceSupport/SWM341.h. The flaw is triggered by a crafted CAN message sent over the local controller area network, allowing an attacker with local access to corrupt the stack, overwrite return addresses or local variables, and achieve arbitrary code execution or cause a system crash. This vulnerability aligns with CWE‑119 and CWE‑121.

Affected Systems

All RT‑Thread firmware releases up to version 5.0.2 that contain the SWM341_CSL library are affected. The vulnerability resides in the SWM341_CSL component that is compiled into devices employing the SWM341 CAN controller. Devices that expose a local CAN interface are therefore at risk. Firmware that has been upgraded beyond 5.0.2, or that has been built without the SWM341_CSL library, does not contain the vulnerable call.

Risk and Exploitability

The CVSS base score of 8.5 classifies the issue as high severity, and the EPSS score of less than 1 % indicates that large‑scale exploitation is currently unlikely, although a public exploit has already been released. Because the flaw requires local access to the CAN bus, attackers must have physical or administrative presence near the device. The vulnerability is not listed in the CISA KEV catalog, so no formal warning exists for these products.

Generated by OpenCVE AI on August 1, 2026 at 20:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade RT‑Thread firmware to a version newer than 5.0.2 that includes the patched CAN_Receive implementation.
  • If a firmware upgrade is impossible, rebuild the firmware without the SWM341_CSL library or disable the SWM341 CAN interface to eliminate the vulnerable code path.
  • Restrict physical and administrative access to the device’s CAN bus and monitor CAN traffic for anomalous packets that could indicate an attempt to trigger the overflow.

Generated by OpenCVE AI on August 1, 2026 at 20:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 03 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
Description 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.
Title RT-Thread SWM341 CAN SWM341.h CAN_Receive stack-based overflow
First Time appeared Rt-thread
Rt-thread rt-thread
Weaknesses CWE-119
CWE-121
CPEs cpe:2.3:a:rt-thread:rt-thread:*:*:*:*:*:*:*:*
Vendors & Products Rt-thread
Rt-thread rt-thread
References
Metrics cvssV2_0

{'score': 6.8, 'vector': 'AV:L/AC:L/Au:S/C:C/I:C/A:C/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.8, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


Subscriptions

Rt-thread Rt-thread
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-06T19:43:36.168Z

Reserved: 2026-07-03T13:51:36.756Z

Link: CVE-2026-14606

cve-icon Vulnrichment

Updated: 2026-07-06T19:40:51.768Z

cve-icon NVD

Status : Deferred

Published: 2026-07-03T20:16:52.237

Modified: 2026-07-06T21:16:53.263

Link: CVE-2026-14606

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T20:30:12Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-121

    Stack-based Buffer Overflow