Skip to main content

RT-Thread CVE-2026-14605

| EUVDEUVD-2026-41562 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-07-03 VulDB GHSA-whcm-77gq-7fj3
7.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain local low-privilege access to device
  2. Delivery
    Reach ls1c CAN recvmsg interface
  3. Exploit
    Submit oversized crafted CAN message
  4. Execution
    Overflow fixed stack buffer
  5. Persist
    Overwrite return address / corrupt stack
  6. Impact
    Hijack control flow or crash device

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

Requires that the target device actually runs RT-Thread (≤5.0.2) built with the Loongson LS1C board support package and its ls1c CAN driver (ls1c_can.h) - devices without this BSP or CAN handler are not exposed. The attacker needs local access with low privileges (CVSS PR:L, AV:L) sufficient to invoke the recvmsg call on the CAN interface with attacker-controlled message contents; no user interaction is required (UI:N). Limiting factors: exploitation is local-only (no network vector), is confined to the specific Loongson LS1C hardware/driver configuration rather than default RT-Thread builds, and depends on the attacker being able to submit crafted data through the CAN receive path.

Impact

Signals are moderate and partially conflicting. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, base 7.1, with E:P/Proof-of-Concept) indicates local access and low privilege but full high impact to confidentiality, integrity, and availability. Public exploit code exists, which raises practical risk for anyone able to reach the CAN interface, but the local attack vector (AV:L) sharply limits remote mass-exploitation. There is no KEV listing and no EPSS value supplied, so widespread automated exploitation is not evidenced - realistic risk is targeted, requiring an attacker already local to the device or able to feed crafted CAN messages. Notably, exploitation depends entirely on a device actually using the Loongson LS1C BSP and its CAN driver, which is a narrow deployment slice of RT-Thread's overall install base. Net: a genuine memory-corruption bug worth patching for affected LS1C CAN deployments, but not a broad emergency given local-only vector and niche affected component.

Exploit ScenarioDerived

An attacker with local, low-privilege access to an RT-Thread device running the Loongson LS1C CAN driver invokes recvmsg on the CAN interface with a crafted message that exceeds the fixed stack buffer, overflowing it and overwriting the return address to hijack control flow or crash the device. Because public proof-of-concept exploit code exists (VulDB), the barrier to reproducing the overflow is low for someone already positioned on or adjacent to the device's CAN subsystem.

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 recvmsg function within the ls1c CAN handler (bsp/loongson/ls1cdev/libraries/ls1c_can.h) for the Loongson LS1C board support package. A local attacker with low privileges can manipulate the recvmsg call path to overflow a stack buffer, corrupting memory to achieve code execution or crash the device. Publicly available exploit code exists (VulDB), but there is no public exploit identified as actively used in the wild; this is not on CISA KEV, and no vendor patch has been identified as the vendor did not respond to disclosure.

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

Stack-based buffer overflow in RT-Thread RTOS (versions through 5.0.2) affects the recvmsg function in the ls1c CAN driver (ls1c_can.h) for the Loongson LS1C board support package. A local, low-privileged attacker can corrupt the stack to achieve memory corruption with high confidentiality, integrity, and availability impact on the affected device. Publicly available exploit code exists, but there is no public exploit identified as being used in active attacks; the vendor was notified early and did not respond.

v1 Jul 03, 2026 - 20:16 CVSS 8.5

Local memory corruption in RT-Thread RTOS (versions up to and including 5.0.2) stems from a stack-based buffer overflow in the recvmsg function within the Loongson LS1C CAN driver (bsp/loongson/ls1cdev/libraries/ls1c_can.h). A low-privileged local attacker can trigger the overflow to corrupt stack memory, potentially achieving arbitrary code execution or crashing affected embedded boards. Publicly available exploit code exists (published via VulDB and the RT-Thread GitHub issue tracker), but there is no public exploit identified as actively exploited, and the vendor did not respond to the disclosure.

RemediationAI

No vendor-released patch identified at time of analysis - the vendor was contacted but did not respond, so no fixed version number can be cited. Track the upstream issue at https://github.com/RT-Thread/rt-thread/issues/11424 and the repository https://github.com/RT-Thread/rt-thread/ for a corrective commit or release. As specific compensating controls: on devices that do not require the Loongson LS1C CAN driver, exclude or disable the ls1c_can component from the build to remove the vulnerable recvmsg path entirely (trade-off: loss of CAN functionality on those boards); restrict which local processes/tasks can access the CAN socket interface so untrusted code cannot invoke recvmsg with crafted input (trade-off: requires privilege partitioning that many RTOS firmware images lack); and for physically exposed devices, control access to the CAN bus and enforce input validation/length checks on inbound CAN messages before they reach the driver. Where source access is available, add bounds checking to the recvmsg buffer copy as an interim in-house fix.

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 an open-source real-time operating system (RTOS) widely used in embedded and IoT devices. The flaw resides in the CAN (Controller Area Network) message-handling library specific to the Loongson LS1C SoC BSP, in the recvmsg receive path defined in ls1c_can.h. The root cause is CWE-121 (Stack-based Buffer Overflow): the recvmsg routine writes attacker-influenced data into a fixed-size stack buffer without adequate bounds checking. On typical RTOS targets there is no MMU-backed process isolation or robust stack protection, so a stack overflow can directly overwrite return addresses and adjacent frame data, making memory corruption more impactful than on a full desktop OS. The CPE (cpe:2.3:a:n/a:rt-thread) confirms RT-Thread as the affected application, though it does not pin an exact version boundary beyond the 'up to 5.0.2' statement in the description.

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 interface access at low privilege with no user interaction (AV:L/PR:L/UI:N); stack overflow on an MMU-less RTOS yields full code-execution impact, so C:H/I:H/A:H.

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

1
CVSS changed
Jul 03, 2026 - 20:22 NVD
8.5 (HIGH) 7.1 (HIGH)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

RT-Thread RTOS versions through 5.0.2 contain a stack-based buffer overflow in the CAN handler enabling code execution on Loongson LS1C embedded systems; publicly available exploit code exists. Organizations running these embedded kernels in critical industrial or control applications face immediate threats to device integrity and operational availability. No vendor patch is available, requiring urgent implementation of compensating controls.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement: (1) restrict local login access and disable non-essential user accounts on affected devices; (2) disable CAN handler functionality if not operationally required; (3) network isolation and segmentation to restrict lateral movement; (4) host-based monitoring for memory corruption exploitation signatures and abnormal process execution; (5) detailed audit logging of local authentication and process lifecycle events; (6) rapid isolation and containment procedures for any device exhibiting compromise indicators.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
Popular embedded RTOS, but flaw limited to niche Loongson LS1C CAN BSP
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-14606 HIGH POC
7.1 Jul 03

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

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