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 function of the SWM341_CSL library within RT‑Thread firmware. By sending a crafted CAN message on the local controller area network, an attacker can corrupt the stack, overwrite return addresses or local variables, and achieve arbitrary code execution or a system crash. This flaw corresponds to CWE‑119 and CWE‑121.

Affected Systems

All RT‑Thread firmware releases up to and including version 5.0.2 that include the SWM341_CSL library are affected. The vulnerability resides in the file bsp/synwit/libraries/SWM341_CSL/CMSIS/DeviceSupport/SWM341.h, which is compiled into devices that use the SWM341 CAN controller. Devices communicating over the local CAN interface are at risk.

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 the public exploit has already been released. Because the flaw requires local access to the CAN interface, attackers must have physical or administrative proximity to 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 July 26, 2026 at 22:33 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 contains the patched CAN_Receive implementation.
  • If a firmware upgrade is not possible, remove or disable the SWM341_CSL library or the SWM341 CAN interface from the build 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 July 26, 2026 at 22:33 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

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T22:45:05Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-121

    Stack-based Buffer Overflow