Description
A vulnerability was identified in RT-Thread up to 5.0.2. Affected by this vulnerability is the function recvmsg in the library bsp/loongson/ls1cdev/libraries/ls1c_can.h of the component ls1c CAN Handler. Such manipulation leads to stack-based buffer overflow. Local access is required to approach this attack. The exploit is publicly available and might be used. 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

A buffer overflow in the recvmsg function of the ls1c CAN handler allows an attacker to corrupt the stack when a CAN message is processed. The flaw, indexed as CWE-119 and CWE-121, can lead to arbitrary code execution, denial of service, or other integrity and availability compromises. The vulnerability is limited to local execution; it cannot be triggered from remote hosts without local CAN access.

Affected Systems

RT‑Thread firmware versions up to and including 5.0.2 that include the ls1c CAN implementation in bsp/loongson/ls1cdev/libraries/ls1c_can.h are affected. Devices that expose the LS1C CAN interface to local traffic—such as embedded automotive or industrial controllers—are at risk if they run any of these vulnerable builds.

Risk and Exploitability

Given a CVSS score of 8.5 the issue is high severity. The EPSS score is below 1 % and the vulnerability is not yet in the CISA KEV catalog, yet a public exploit exists. Based on the description it is inferred that an attacker must have local access to the CAN controller to deliver a malicious message, but once local access is achieved the exploitation probability is realistic. For deployments where local CAN access is unrestricted, the risk of successful compromise remains significant.

Generated by OpenCVE AI on July 25, 2026 at 21:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade RT‑Thread to a version newer than 5.0.2 that contains the ls1c CAN recvmsg overflow fix.
  • If an upgrade is not possible, disable the ls1c CAN handler in the kernel or block local traffic to the CAN interface.
  • Enable runtime mitigations such as stack canaries, address space randomization, and stricter access control on the CAN controller to reduce the impact of the overflow until a patch is applied.

Generated by OpenCVE AI on July 25, 2026 at 21:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 16: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 vulnerability was identified in RT-Thread up to 5.0.2. Affected by this vulnerability is the function recvmsg in the library bsp/loongson/ls1cdev/libraries/ls1c_can.h of the component ls1c CAN Handler. Such manipulation leads to stack-based buffer overflow. Local access is required to approach this attack. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.
Title RT-Thread ls1c CAN ls1c_can.h recvmsg 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-06T15:25:54.648Z

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

Link: CVE-2026-14605

cve-icon Vulnrichment

Updated: 2026-07-06T15:25:51.651Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-25T21:30:17Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-121

    Stack-based Buffer Overflow