Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-5867

CVE-2025-5867: RT-Thread Null Pointer Dereference Flaw

CVE-2025-5867 is a critical null pointer dereference vulnerability in RT-Thread 5.1.0 affecting the csys_sendto function. This article covers technical details, affected versions, security impact, and mitigation.

Published: April 1, 2026

CVE-2025-5867 Overview

A critical vulnerability has been identified in RT-Thread version 5.1.0, affecting the csys_sendto function within the lightweight process (LWP) syscall implementation. This null pointer dereference vulnerability exists in the file rt-thread/components/lwp/lwp_syscall.c and can be triggered through manipulation of the argument parameter, potentially leading to system instability or denial of service conditions on affected embedded systems.

RT-Thread is a popular open-source real-time operating system designed for embedded devices and IoT applications. The LWP (Lightweight Process) subsystem provides process management capabilities similar to traditional operating systems, making this vulnerability particularly concerning for deployed IoT infrastructure.

Critical Impact

Attackers with adjacent network access and low-level privileges can trigger a null pointer dereference in the RT-Thread kernel, potentially crashing the system or causing denial of service on embedded devices and IoT systems running RT-Thread 5.1.0.

Affected Products

  • RT-Thread 5.1.0
  • Systems running RT-Thread RTOS with LWP syscall functionality enabled
  • IoT and embedded devices utilizing RT-Thread's lightweight process implementation

Discovery Timeline

  • June 9, 2025 - CVE-2025-5867 published to NVD
  • July 11, 2025 - Last updated in NVD database

Technical Details for CVE-2025-5867

Vulnerability Analysis

This vulnerability is classified under CWE-476 (NULL Pointer Dereference) and CWE-404 (Improper Resource Shutdown or Release). The flaw resides in the csys_sendto function, which is part of the LWP syscall interface that handles socket-related system calls in RT-Thread.

When the csys_sendto function processes a malformed or specially crafted argument, it fails to properly validate the pointer before dereferencing it. This lack of input validation allows an attacker to trigger a null pointer dereference condition, which in an embedded RTOS environment typically results in a system crash or undefined behavior.

The vulnerability requires adjacent network access, meaning an attacker must be on the same network segment or have local network proximity to the target device. While low-level privileges are required to exploit this vulnerability, the impact is significant given that embedded systems and IoT devices often cannot easily recover from kernel-level crashes without manual intervention.

Root Cause

The root cause of this vulnerability is inadequate input validation in the csys_sendto syscall handler. The function fails to verify that the to argument parameter contains a valid, non-null pointer before attempting to dereference it. In RTOS environments like RT-Thread, syscall handlers must rigorously validate all user-provided parameters since a crash in kernel space typically halts the entire system.

The improper resource handling (CWE-404) aspect suggests that the vulnerability may also involve failure to properly manage socket resources when invalid parameters are encountered, potentially leaving resources in an inconsistent state.

Attack Vector

The attack vector is through the adjacent network, requiring the attacker to have proximity to the target system. Exploitation involves:

  1. Gaining access to a network segment where vulnerable RT-Thread devices are deployed
  2. Authenticating with low-level privileges to the target system
  3. Invoking the csys_sendto syscall with a specially crafted null or invalid pointer argument
  4. The kernel fails to validate the argument and attempts to dereference the null pointer
  5. System crash or denial of service occurs

The vulnerability mechanism involves the csys_sendto function in rt-thread/components/lwp/lwp_syscall.c failing to validate pointer arguments before use. When a null or invalid pointer is passed as the destination address argument, the kernel attempts to access memory at an invalid location, triggering a null pointer dereference exception. In embedded systems without memory protection, this typically results in immediate system failure. Technical details and discussion are available in the GitHub Issue Discussion.

Detection Methods for CVE-2025-5867

Indicators of Compromise

  • Unexpected system crashes or reboots of RT-Thread devices, particularly those with LWP functionality enabled
  • Kernel panic or hard fault logs indicating null pointer exceptions in the lwp_syscall.c module
  • Anomalous network activity targeting RT-Thread devices from adjacent network segments
  • System logs showing repeated syscall failures related to socket operations

Detection Strategies

  • Monitor embedded device health metrics for unexpected reboots or crashes that may indicate exploitation attempts
  • Implement network segmentation monitoring to detect unauthorized access attempts to IoT device network segments
  • Review system logs for fault handlers being triggered in the LWP syscall path
  • Deploy intrusion detection systems configured to monitor traffic patterns to embedded devices

Monitoring Recommendations

  • Enable verbose logging for the LWP subsystem where possible to capture syscall argument validation failures
  • Implement watchdog mechanisms to detect and report system crashes for forensic analysis
  • Monitor network traffic for unusual patterns targeting RT-Thread devices on adjacent network segments
  • Establish baseline behavior for embedded devices to identify anomalous crash patterns

How to Mitigate CVE-2025-5867

Immediate Actions Required

  • Inventory all systems running RT-Thread 5.1.0 to identify vulnerable deployments
  • Implement network segmentation to restrict access to RT-Thread devices from untrusted network segments
  • Review and restrict user privileges on RT-Thread systems to minimize attack surface
  • Monitor affected devices for signs of exploitation or unusual crash patterns

Patch Information

At the time of publication, patch information should be obtained from the official RT-Thread project. Organizations are advised to monitor the RT-Thread GitHub repository for updates and security patches addressing this vulnerability. The VulDB entry may also contain updated remediation information.

Workarounds

  • Disable the LWP subsystem if not required for your application to eliminate the vulnerable code path
  • Implement strict network access controls to prevent unauthorized adjacent network access to RT-Thread devices
  • Apply principle of least privilege to limit the number of users with syscall access
  • Deploy application-level input validation where possible before syscall invocation
  • Consider firmware rollback to a previous version if confirmed unaffected, pending official patch release

Pending official patches, administrators should implement compensating controls through network-level restrictions. Consult the GitHub issue discussion for community-provided mitigations and patch status updates.

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechRt Thread

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.50%

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

  • CWE-476
  • Technical References
  • GitHub Issue Discussion

  • VulDB CTI ID #311626

  • VulDB #311626

  • VulDB Submit ID #584129
  • Related CVEs
  • CVE-2025-5866: 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