The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-5869

CVE-2025-5869: RT-Thread Buffer Overflow Vulnerability

CVE-2025-5869 is a critical buffer overflow vulnerability in RT-Thread 5.1.0 affecting the sys_recvfrom function. This flaw can lead to memory corruption. This article covers technical details, impact, and mitigation.

Published: March 31, 2026

CVE-2025-5869 Overview

A critical memory corruption vulnerability has been discovered in RT-Thread version 5.1.0, affecting the sys_recvfrom function within the file rt-thread/components/lwp/lwp_syscall.c. This vulnerability allows an attacker to manipulate the from argument, leading to memory corruption that could potentially result in code execution or system compromise.

Critical Impact

Memory corruption in the lightweight process (LWP) syscall component can lead to arbitrary code execution, system instability, or complete device takeover in embedded systems running RT-Thread.

Affected Products

  • RT-Thread 5.1.0
  • RT-Thread operating system with LWP (Lightweight Process) component enabled
  • Embedded devices and IoT systems utilizing RT-Thread RTOS

Discovery Timeline

  • 2025-06-09 - CVE-2025-5869 published to NVD
  • 2025-07-11 - Last updated in NVD database

Technical Details for CVE-2025-5869

Vulnerability Analysis

This vulnerability affects the sys_recvfrom function in the RT-Thread Lightweight Process (LWP) syscall implementation. The LWP component provides POSIX-like process management capabilities to RT-Thread, enabling user-space applications to run on the real-time operating system. The sys_recvfrom function is responsible for receiving data from a socket and storing the sender's address information.

The vulnerability stems from improper bounds checking when handling the from argument in the syscall, classified under CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer). When a malformed or crafted from argument is passed to the function, the system fails to properly validate memory boundaries, leading to memory corruption.

The attack requires adjacent network access with low complexity and low privileges, making it exploitable by authenticated attackers on the same network segment. Successful exploitation can result in high impact to confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause is a buffer boundary restriction failure (CWE-119) in the sys_recvfrom syscall handler. The function does not adequately validate the size and boundaries of the from argument before writing address information to the user-space buffer. This allows an attacker to trigger out-of-bounds memory operations by providing specially crafted input parameters, corrupting adjacent memory regions.

Attack Vector

The vulnerability is exploitable via an adjacent network attack vector. An attacker with local network access and low-level privileges can craft malicious socket operations that invoke the vulnerable sys_recvfrom syscall with manipulated arguments. The attack does not require user interaction and can be executed with low complexity.

The attacker would need to:

  1. Gain access to the same network segment as the target RT-Thread device
  2. Authenticate with minimal privileges to the system
  3. Execute a user-space application that makes socket syscalls
  4. Craft malicious recvfrom operations with manipulated from argument values
  5. Trigger memory corruption to achieve code execution or denial of service

The vulnerability exists in the kernel-level syscall handler, meaning successful exploitation can have severe consequences including privilege escalation and arbitrary code execution at the kernel level.

Detection Methods for CVE-2025-5869

Indicators of Compromise

  • Unexpected system crashes or reboots in RT-Thread devices with LWP enabled
  • Abnormal memory usage patterns or memory allocation failures
  • Suspicious network socket operations from user-space applications
  • Core dumps or fault conditions in the lwp_syscall.c component

Detection Strategies

  • Monitor RT-Thread devices for unexpected behavior or system instability
  • Implement network monitoring to detect anomalous socket communication patterns on adjacent network segments
  • Review system logs for syscall-related faults or memory access violations
  • Deploy runtime memory protection mechanisms where supported by the hardware

Monitoring Recommendations

  • Enable RT-Thread debugging features to capture syscall traces during development and testing
  • Implement hardware watchdog timers to detect and recover from system hangs
  • Monitor network traffic to and from RT-Thread devices for unusual patterns
  • Consider deploying SentinelOne Singularity for IoT to gain visibility into embedded device behavior

How to Mitigate CVE-2025-5869

Immediate Actions Required

  • Review your RT-Thread deployment to identify devices running version 5.1.0
  • Assess whether LWP functionality is required for your application
  • If LWP is not needed, consider disabling the component to eliminate the attack surface
  • Restrict adjacent network access to RT-Thread devices using network segmentation
  • Monitor the RT-Thread GitHub repository for official patches

Patch Information

At the time of publication, users should monitor the official RT-Thread GitHub repository and issue tracker for patch releases. The vulnerability has been documented in GitHub Issue #10304. Review the VulDB entry for additional technical details and updates on remediation.

Workarounds

  • Disable the LWP component if user-space process support is not required for your application
  • Implement network segmentation to restrict adjacent network access to vulnerable devices
  • Apply strict access controls to limit which applications can execute socket syscalls
  • Consider implementing additional input validation in application-level code before invoking socket operations
bash
# RT-Thread configuration example - disable LWP if not required
# In rtconfig.h or using menuconfig
# RT_USING_LWP should be undefined to disable LWP
# #define RT_USING_LWP

# Verify LWP status in configuration
grep -r "RT_USING_LWP" rtconfig.h

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechRt Thread

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.42%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-119
  • Technical References
  • GitHub Issue Discussion

  • VulDB CTI Issue #311628

  • VulDB #311628

  • VulDB Submission #584135
  • Related CVEs
  • CVE-2025-5868: RT-Thread Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English