Description
A weakness has been identified in RT-Thread up to 5.0.2. This affects the function sys_getaddrinfo of the file components/lwp/lwp_syscall.c. Executing a manipulation of the argument ai_addr can lead to memory corruption. The attack can only be executed locally. The exploit has been made available to the public and could be used for attacks. The pull request to fix this issue awaits acceptance.
Published: 2026-07-03
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the sys_getaddrinfo function in the lwp_syscall.c file of RT‑Thread firmware; it is a buffer overflow (CWE‑119). Manipulating the ai_addr argument can cause a buffer overrun, corrupting memory beyond the intended bounds. The CVE record does not state that the overflow directly grants code execution. The primary danger is the resulting memory corruption, which may impair system stability; it is inferred that such corruption could potentially be leveraged as part of a larger attack strategy, although this inference is not explicitly stated in the CVE description.

Affected Systems

Devices that run RT‑Thread versions up to and including 5.0.2 are affected because the flaw is present in the firmware binary. Any system that incorporates the unpatched sys_getaddrinfo routine can be compromised by an attacker who can execute code locally on the target device.

Risk and Exploitability

The CVSS score of 6.8 classifies this issue as medium severity. The EPSS score of less than 1 % indicates a low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Attacks require local execution privileges to trigger the defect; no remote exploitation path is documented. Publicly available exploit code demonstrates that local attackers could use the flaw to corrupt memory, potentially disrupting device operation. It is inferred that this could provide a foothold for additional attacks, though this inference is not explicitly stated in the CVE description.

Generated by OpenCVE AI on July 26, 2026 at 22:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor’s pending patch after the pull request is accepted, then rebuild and deploy the updated firmware.
  • If an immediate firmware upgrade is not possible, restrict local execution privileges so that only trusted users or processes can invoke the affected function, thereby reducing the attack surface.
  • Continuously monitor the RT‑Thread GitHub repository and vendor security advisories for the merge of the fix, and apply any new updates as soon as they become available.

Generated by OpenCVE AI on July 26, 2026 at 22:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics ssvc

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


Fri, 03 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
Description A weakness has been identified in RT-Thread up to 5.0.2. This affects the function sys_getaddrinfo of the file components/lwp/lwp_syscall.c. Executing a manipulation of the argument ai_addr can lead to memory corruption. The attack can only be executed locally. The exploit has been made available to the public and could be used for attacks. The pull request to fix this issue awaits acceptance.
Title RT-Thread lwp_syscall.c sys_getaddrinfo memory corruption
First Time appeared Rt-thread
Rt-thread rt-thread
Weaknesses CWE-119
CPEs cpe:2.3:a:rt-thread:rt-thread:*:*:*:*:*:*:*:*
Vendors & Products Rt-thread
Rt-thread rt-thread
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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-06T16:29:02.293Z

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

Link: CVE-2026-14607

cve-icon Vulnrichment

Updated: 2026-07-06T16:28:57.864Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T22:45:05Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer