CVE-2026-14605

RT-Thread ls1c CAN ls1c_can.h recvmsg stack-based overflow

Published Jul 3, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 August 1, 2026 at 20:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 6, 2026, 3:25 PM
Reserved
Jul 3, 2026, 1:51 PM
Status
Deferred
Published
Jul 3, 2026, 8:16 PM
Modified
Jul 6, 2026, 6:02 PM