Skip to main content

Rt Thread CVE-2025-5869

| EUVDEUVD-2025-17445 HIGH
Buffer Overflow (CWE-119)
2025-06-09 cna@vuldb.com
8.0
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
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.

Impact

The CVSS 3.1 score of 8.0 with vector CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates high severity with important constraints: (1) AV:A (Adjacent Network) means local/network-adjacent access only—not remotely exploitable from the internet; (2) PR:L (Low Privilege) requires an authenticated local account or process; (3) AC:L indicates low complexity, making exploitation straightforward once access is obtained; (4) High impact across all three CIA triad factors (Confidentiality, Integrity, Availability) demonstrates complete system compromise potential. The EPSS score (if available) would likely be elevated given the straightforward exploitation path for local attackers. This represents a genuine high-priority vulnerability for deployed RT-Thread systems, particularly in IoT/embedded environments where local network access may be common. However, the requirement for local authentication significantly reduces Internet-facing attack surface compared to unauthenticated remote vulnerabilities. KEV active exploitation status and POC availability are critical signals—if this is being actively exploited in the wild, priority escalates substantially.

Exploit ScenarioDerived

An attacker with a valid local user account or low-privilege process on an RT-Thread-based embedded device (e.g., industrial controller, smart home gateway) crafts a malicious recvfrom syscall with a specially formed 'from' address parameter pointing to an attacker-controlled buffer or kernel memory address. The unvalidated parameter causes the kernel to write network socket metadata (source address, port) beyond the intended buffer boundary, overwriting adjacent kernel structures such as function pointers, capability bits, or process control blocks. With careful alignment and multiple syscall invocations, the attacker achieves arbitrary kernel code execution, allowing privilege escalation to root equivalent, installation of persistent backdoors, or system DoS. The low complexity (AC:L) means standard fuzzing or parameter enumeration techniques would quickly identify the overflow condition. If a public POC exists, exploitation becomes trivial for any attacker with local system access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% 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 memory corruption vulnerability in RT-Thread 5.1.0's sys_recvfrom syscall handler that allows authenticated local attackers to corrupt kernel memory through improper argument validation. An attacker with local access and limited privileges can exploit this to achieve arbitrary code execution or denial of service, potentially compromising the entire embedded system 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

The vulnerability exists in rt-thread/components/lwp/lwp_syscall.c within the sys_recvfrom function, which handles the recvfrom network syscall in the RT-Thread lightweight process (lwp) subsystem. The root cause is classified as CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), indicating a classic buffer overflow or out-of-bounds memory access. The 'from' parameter passed to sys_recvfrom is not properly validated before being used in memory operations, allowing an attacker to write beyond allocated buffer boundaries. This affects RT-Thread's POSIX-compatible syscall layer, which is critical infrastructure for application sandboxing and process isolation in embedded systems using CPE:rt-thread:rt-thread:5.1.0.

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:07 vuln.today
Public exploit code
CVE Published
Jun 09, 2025 - 09:15 nvd
HIGH 8.0

DescriptionCVE.org

A vulnerability, which was classified as critical, was found in RT-Thread 5.1.0. Affected is the function sys_recvfrom of the file rt-thread/components/lwp/lwp_syscall.c. The manipulation of the argument from leads to memory corruption.

Executive ViewAI

Why It Matters

CVE-2025-5869 affects RT-Thread 5.1.0 and could allow attackers to corrupt memory through a network-accessible system call, potentially leading to application crashes or code execution. Organizations running RT-Thread-based embedded systems or IoT devices are at risk until a patch is released.

Recommended Action

Within 24 hours: identify and inventory all systems running RT-Thread 5.1.0 and assess network exposure of affected devices. Within 7 days: implement network segmentation to restrict access to affected RT-Thread systems and disable the recvfrom syscall if operationally feasible. Within 30 days: monitor vendor releases closely for available patches and prepare deployment procedures; evaluate upgrade paths to patched versions when available.

Business Impact: High
Compensating Controls

Implement network segmentation to isolate RT-Thread 5.1.0 systems from untrusted networks; deploy WAF or IDS rules to detect anomalous recvfrom syscall patterns; disable unnecessary network services on affected devices; implement strict input validation at the application layer for network data; monitor for memory corruption indicators and system crashes; restrict administrative access to affected systems.

Threat Intelligence Overview

EPSS Score
0.4%
Top 41% 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.4%
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

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