Skip to main content

RT-Thread CVE-2026-14607

| EUVDEUVD-2026-41564 MEDIUM
Buffer Overflow (CWE-119)
2026-07-03 VulDB GHSA-g6q3-rr42-f5h7
5.4
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Recon
    Gain low-privilege local execution on RT-Thread device
  2. Delivery
    Confirm lwp subsystem is active
  3. Exploit
    Craft malicious ai_addr argument
  4. Install
    Invoke sys_getaddrinfo syscall
  5. C2
    Trigger out-of-bounds memory write in kernel
  6. Execute
    Corrupt kernel memory structures
  7. Impact
    System crash (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target device to be running RT-Thread version 5.0.2 or earlier with the lwp (Linux-compatible process) subsystem compiled and active - this is not enabled in all RT-Thread configurations and represents a specific build-time choice. The attacker must have local code execution with at least low-privilege access (PR:L per CVSS 4.0) sufficient to invoke the sys_getaddrinfo syscall; no network access path exists (AV:L). No user interaction or elevated (root/admin) privileges are required beyond local execution rights. Exploitation is limited by the local-only attack vector, the requirement for the lwp subsystem to be present, and the fact that impact is confined to availability (device crash/DoS) - data exfiltration or code execution beyond the crash are not indicated by available data.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N) with E:P supplemental metric accurately characterizes the threat: local-only access, low complexity, low privilege, no interaction, and exclusively availability impact. The local attack vector substantially limits the blast radius compared to a network-exploitable flaw - an attacker must already have code execution on the target device. In RT-Thread's typical deployment contexts (embedded controllers, IoT gateways, industrial devices), local access may be achievable through a compromised co-resident application or physical access, making this non-trivial to dismiss. The absence of a CISA KEV listing means active exploitation is not confirmed, and no EPSS data was provided. The open but unmerged PR (#11454) is a meaningful risk amplifier: the exposure window extends until the PR is merged and a release is cut, with no vendor-issued patch currently available. Real-world priority should be moderate - embedded availability is operationally critical, but the local-only vector and lack of C/I impact constrain urgency compared to remote or authenticated-bypass flaws.

Exploit ScenarioDerived

A low-privileged application or user process running on an RT-Thread 5.0.2 device with lwp enabled calls getaddrinfo() with a specially crafted ai_addr pointer argument, which the kernel-side sys_getaddrinfo handler writes to without adequate bounds validation. The resulting out-of-bounds memory corruption in kernel space causes the RT-Thread kernel to crash, taking down all processes and services on the device. A public proof-of-concept is available at https://github.com/RT-Thread/rt-thread/issues/11428, reducing the skill bar needed for exploitation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 03, 2026

Memory corruption in RT-Thread's Linux-compatible process (lwp) syscall layer allows a local low-privileged user to crash the RTOS kernel by supplying a crafted ai_addr argument to the sys_getaddrinfo handler in components/lwp/lwp_syscall.c. All RT-Thread versions through 5.0.2 are affected, with impact limited to availability (VA:H) - no confidentiality or integrity loss is indicated. A public proof-of-concept exists (GitHub issue #11428), though exploitation is not confirmed in CISA KEV; the upstream fix remains an unmerged pull request, leaving all deployed versions currently unpatched.

RemediationAI

No officially released patched version is available at time of analysis. The upstream fix exists as an open pull request (https://github.com/RT-Thread/rt-thread/pull/11454) that has not yet been merged into the RT-Thread codebase. Operators should monitor the RT-Thread repository and VulDB advisory (https://vuldb.com/vuln/376115) for merge and release notifications, then upgrade immediately upon availability. As a compensating control, restrict local shell or application execution access on RT-Thread devices to fully trusted principals, since exploitation requires local code execution with at least low privilege. Where operationally feasible, building RT-Thread without the lwp subsystem (components/lwp) eliminates this specific attack surface entirely, though this trades away POSIX process compatibility. Applying the patch from PR #11454 manually to local source trees is possible but carries the risk of an unreviewed, unmerged change; teams should weigh this against continued exposure.

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 targeting embedded and IoT devices. Its Linux-compatible process (lwp) subsystem (components/lwp/) provides POSIX-style syscalls to user-space processes, including sys_getaddrinfo, which wraps DNS resolution and address translation analogous to the standard getaddrinfo() API. The vulnerability is rooted in CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) - specifically a buffer overflow triggered when the ai_addr sockaddr-family argument is not properly validated before memory operations, permitting out-of-bounds writes in kernel space. The CPE cpe:2.3:a:n/a:rt-thread:*:*:*:*:*:*:*:* covers the full version range through 5.0.2. The lwp subsystem is an optional component that must be compiled in; minimal RT-Thread builds without lwp are not affected by this code path.

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 5.4 MEDIUM
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
vuln.today AI 5.5 MEDIUM

Local-only vector (AV:L) with low privilege required (PR:L); memory corruption causes kernel crash so A:H; no confidentiality or integrity impact indicated by description or CVSS 4.0 source data.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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
None
Vulnerable system: Integrity
None
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
6.8 (MEDIUM) 5.4 (MEDIUM)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche embedded RTOS, primarily IoT and industrial device market
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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
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.

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