Description
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.
Published: 2026-07-04
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the Parameter Handler component of RT‑Thread, specifically the ioctl implementation in lwp_syscall.c. Crafted calls to the ioctl function using malformed or zero parameters trigger a division‑by‑zero error (CWE‑369). Because the error is not handled, the kernel may fault, leading to a process or system crash that manifests as a loss of service (CWE‑404). The description states that the flaw can be exploited remotely, indicating that an attacker can send malicious ioctl requests to an exposed RT‑Thread device and provoke a denial of service condition. It is inferred that the unhandled division‑by‑zero will cause a kernel fault and restart, which would appear as a crash, though the CVE itself does not explicitly confirm a crash.

Affected Systems

RT‑Thread RT‑Thread up to version 5.2.2. Any device or embedded system that incorporates an affected RT‑Thread release is potentially vulnerable. The affected code is located within the Parameter Handler component, specifically lwp_syscall.c. No additional product variants are listed.

Risk and Exploitability

The CVSS score of 5.3 classifies the vulnerability as medium severity. The EPSS score of < 1 % indicates a low probability of exploitation, but the existence of a published exploit and the statement that the attack may be launched remotely raise concern. The vulnerability is not listed in the CISA KEV catalog. The attack vector is likely remote, with the attacker needing the ability to send a specially crafted ioctl request to the vulnerable interface.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade RT‑Thread to a release that incorporates the PR once it is merged.
  • If no patch is currently available, disable or restrict remote access to the ioctl functionality that triggers the fault, limiting the attack surface.
  • Continuously monitor system logs or kernel messages for evidence of division‑by‑zero faults or unexpected reboots, and implement an emergency reboot policy if crash events occur.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 04 Jul 2026 14:00:00 +0000

Type Values Removed Values Added
Description 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.
Title RT-Thread Parameter lwp_syscall.c sys_ioctl divide by zero
First Time appeared Rt-thread
Rt-thread rt-thread
Weaknesses CWE-369
CWE-404
CPEs cpe:2.3:a:rt-thread:rt-thread:*:*:*:*:*:*:*:*
Vendors & Products Rt-thread
Rt-thread rt-thread
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


Subscriptions

Rt-thread Rt-thread
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-06T15:00:19.211Z

Reserved: 2026-07-03T17:10:08.620Z

Link: CVE-2026-14629

cve-icon Vulnrichment

Updated: 2026-07-06T15:00:15.803Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T08:45:02Z

Weaknesses
  • CWE-369

    Divide By Zero

  • CWE-404

    Improper Resource Shutdown or Release