Skip to main content

RT-Thread EUVDEUVD-2026-41674

| CVE-2026-14629 LOW
Divide By Zero (CWE-369)
2026-07-04 VulDB GHSA-jp84-4rqr-29c5
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to network-accessible RT-Thread device
  2. Delivery
    Invoke crafted read/write/sys_ioctl syscall via lwp interface
  3. Exploit
    Supply zero-value divisor parameter to lwp_syscall.c handler
  4. Execution
    Trigger unhandled divide-by-zero arithmetic fault
  5. Impact
    Crash RTOS process or system (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
Exploitation Conditions

Exploitation requires the attacker to hold at minimum low-privileged authenticated access to the target RT-Thread system (PR:L per CVSS 4.0 vector - unauthenticated exploitation is not supported by the available data). Critically, the lwp (lightweight process) component must be compiled into the RT-Thread firmware image; this component is not present in all builds and must be explicitly enabled, meaning the majority of minimal embedded deployments may not be affected. The target device must be reachable over a network (AV:N). Limiting factors include: authentication requirement (low privilege but not anonymous), non-default component dependency (lwp must be enabled), and the restricted deployment context of RT-Thread on embedded/IoT hardware that is often network-isolated. The impact is confined to availability (partial crash) with no confidentiality or integrity effect.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P) assigns a network-accessible, low-complexity attack requiring only low privileges, with impact limited to partial availability (VA:L) and no confidentiality or integrity consequences. The E:P (proof-of-concept) exploitability modifier is confirmed by the public GitHub issue. Despite the network attack vector, real-world risk is moderated by several factors: the lwp component must be explicitly enabled in the build, the attacker must hold at minimum low-privileged access to the target, and the impact is limited to a process/system crash rather than code execution or data exposure. RT-Thread's embedded/IoT deployment context means affected devices are often behind network boundaries, further reducing exposure. No EPSS data was provided in the input, and the absence of a CISA KEV entry suggests no confirmed widespread exploitation. The overall risk profile is moderate for environments where lwp-enabled RT-Thread devices are internet-facing or accessible to untrusted authenticated users.

Exploit ScenarioDerived

An attacker with low-privileged access to a network-exposed RT-Thread device - for example, via a telnet or application-layer session - sends a crafted read, write, or ioctl syscall containing a parameter value of zero intended to function as a divisor within the lwp_syscall.c handler. The unvalidated parameter triggers a divide-by-zero fault, crashing the affected RTOS process or the entire system, causing denial of service. A public proof-of-concept demonstrating this technique is available via the GitHub issue at https://github.com/RT-Thread/rt-thread/issues/11429.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 04, 2026

Divide-by-zero in RT-Thread's lightweight process (lwp) syscall handler allows a low-privileged remote attacker to crash the RTOS by sending crafted read, write, or sys_ioctl system calls with malicious parameters to the affected handler in components/lwp/lwp_syscall.c. Affected versions are 5.2.2 and below. A public proof-of-concept exploit has been disclosed via GitHub issue #11429, though this vulnerability has not been added to the CISA KEV catalog, suggesting exploitation remains opportunistic rather than broadly weaponized. The upstream fix exists only as a pull request (PR #11453) awaiting merge acceptance.

RemediationAI

The upstream fix is available as pull request #11453 at https://github.com/RT-Thread/rt-thread/pull/11453, which awaits acceptance into the main branch - a released, officially tagged patched version has not been independently confirmed at time of analysis. Organizations should monitor the RT-Thread repository for merge and a tagged release. As a compensating control, disable or exclude the lwp (lightweight process) component from firmware builds if POSIX-like user-space syscall support is not required - this eliminates the vulnerable code path entirely and is the most reliable mitigation given the unmerged patch status. If lwp must remain enabled, restrict network access to RT-Thread devices to trusted networks or authenticated segments, and enforce the principle of least privilege on accounts that can issue syscalls. Note that disabling lwp may break applications relying on POSIX process semantics. Additional context is available at https://vuldb.com/vuln/376145 and the project repository at https://github.com/RT-Thread/rt-thread/.

Affected VersionsENISA

RT-Thread 5.2.1
RT-Thread 5.2.2
RT-Thread 5.2.0

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, POSIX-compatible real-time operating system targeting embedded and IoT microcontroller platforms. The affected component, lwp (lightweight process), provides a POSIX-like syscall abstraction layer allowing user-space processes to invoke kernel services. The vulnerable functions - read, write, and sys_ioctl - reside in components/lwp/lwp_syscall.c and serve as the parameter handler for these calls. CWE-369 (Divide by Zero) indicates the root cause: the parameter handler fails to validate user-supplied input before using it as a divisor in an arithmetic operation, allowing an attacker to induce a division-by-zero fault. The CPE cpe:2.3:a:n/a:rt-thread:*:*:*:*:*:*:*:* covers all RT-Thread versions up to and including 5.2.2. Notably, the lwp component is not compiled into all RT-Thread builds by default - its presence is a prerequisite for exploitation.

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 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.3 MEDIUM

Network-reachable with low-privilege authentication required; divide-by-zero yields availability impact only, no confidentiality or integrity effect, no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jul 04, 2026 - 14:22 NVD
MEDIUM LOW
CVSS changed
Jul 04, 2026 - 14:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A flaw has been found in RT-Thread up to 5.2.2. Affected is the function read/write/sys_ioctl of the file components/lwp/lwp_syscall.c of the component Parameter Handler. Executing a manipulation can lead to divide by zero. The attack may be launched remotely. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
niche embedded RTOS targeting IoT and microcontroller devices
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-2026-14605 HIGH POC
7.1 Jul 03

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

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy