Skip to main content

Rt Thread EUVDEUVD-2025-17443

| CVE-2025-5867 HIGH
Improper Resource Shutdown or Release (CWE-404)
2025-06-09 cna@vuldb.com
8.0
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2021 - Security Misconfiguration
ASVS 5.0
V15 - Secure Coding and Architecture Resource release
Impact

CVSS 8.0 (High) with CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates moderate attack complexity but significant impact—the attack requires adjacent network access or local access (AV:A) and low privilege (PR:L), with high confidentiality, integrity, and availability impact. The null pointer dereference typically results in denial of service (crash), but combined with high integrity impact suggests potential for information disclosure or control flow hijacking. Without confirmed KEV status or EPSS scoring data, real-world exploitation probability appears moderate: the vulnerability requires local/adjacent access plus valid credentials, limiting opportunistic exploitation. However, in embedded IoT environments where multiple processes run with moderate privilege levels, this represents a genuine priority. The combination of high impact (C:H/I:H/A:H) with achievable prerequisites makes this a credible privilege escalation or system compromise vector despite moderate attack complexity.

Exploit ScenarioDerived

An attacker with local shell access (or adjacent network access via a compromised IoT device on the same network segment) invokes a malformed sendto() system call via the lwp subsystem, passing a null or invalid pointer as the destination address argument. The csys_sendto function fails to validate this pointer before dereferencing it, causing a null pointer dereference that crashes the kernel or the calling process. In a multi-process RT-Thread environment, this can be weaponized: (1) for denial of service by repeatedly crashing critical system services, (2) for information disclosure if error handling leaks memory contents, or (3) potentially for code execution if the null pointer dereference can be controlled to write to predictable memory locations. On embedded IoT devices where RT-Thread manages network stacks and firmware updates, compromising system stability or integrity could allow firmware tampering or service disruption. A proof-of-concept would involve crafting a raw socket operation with malformed arguments, likely achievable within minutes of gaining initial local access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 14, 2026

Critical null pointer dereference vulnerability in RT-Thread 5.1.0's lwp_syscall.c csys_sendto function, allowing authenticated local attackers to cause denial of service and potentially achieve code execution with high integrity impact. The vulnerability requires local access and valid credentials but exploits a memory safety flaw in a core system call handler that could be leveraged for privilege escalation or system instability in embedded/IoT deployments running RT-Thread.

Affected VersionsENISA

RT-Thread 5.1.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 a real-time operating system commonly used in embedded systems and IoT devices. The vulnerable component is located in rt-thread/components/lwp/lwp_syscall.c, specifically in the csys_sendto function which handles the sendto system call for socket operations. CWE-404 (Improper Resource Validation) indicates that the function fails to properly validate pointer arguments before dereferencing them, resulting in a null pointer dereference condition. The lwp (Lightweight Process) component provides POSIX-like process management on RT-Thread. The vulnerability exists in version 5.1.0 and potentially affects other versions in the same branch. CPE identifier would be: cpe:2.3:a:rt-thread:rt-thread:5.1.0:*:*:*:*:*:*:* and related version ranges.

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

NVD PRIMARY 8.0 HIGH
AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
PoC Detected
Jul 11, 2025 - 18:13 vuln.today
Public exploit code
CVE Published
Jun 09, 2025 - 08:15 nvd
HIGH 8.0

DescriptionCVE.org

A vulnerability classified as critical was found in RT-Thread 5.1.0. This vulnerability affects the function csys_sendto of the file rt-thread/components/lwp/lwp_syscall.c. The manipulation of the argument to leads to null pointer dereference.

Executive ViewAI

Why It Matters

CVE-2025-5867 is a high-severity vulnerability affecting RT-Thread 5.1.0 that could allow attackers to crash systems or potentially execute arbitrary code through a null pointer dereference in network socket operations. Organizations using RT-Thread in embedded or IoT devices face service disruption and potential network compromise risks, with public exploits already available.

Recommended Action

Within 24 hours: Identify all systems running RT-Thread 5.1.0 and assess network exposure, particularly devices handling critical operations. Within 7 days: Isolate affected systems from untrusted networks, disable the vulnerable csys_sendto function if operationally feasible, and contact RT-Thread for patch timeline. Within 30 days: Implement network segmentation to restrict socket communications to trusted sources, monitor for exploitation attempts, and prepare for emergency patching upon vendor release.

Business Impact: High
Compensating Controls

Implement network segmentation to restrict affected devices from untrusted network sources; deploy WAF/IDS rules to detect malformed socket operations to csys_sendto; disable unnecessary network socket functionality if business requirements permit; restrict user privileges on affected systems; monitor system logs for crash events and socket-related errors; maintain isolated test environments for patch validation immediately upon release.

Threat Intelligence Overview

EPSS Score
0.5%
Top 36% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.5%
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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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

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