Cyber Resilience

CVE-2025-5867

Memory Safety in Rt-Thread 5.1.0

Public PoCMemory Safety
Published
09 June 2025
Modified
17 June 2026
CVSS Score v4 8.6
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.011 61th percentile
Risk Priority 38 floored blend · peak EPSS

Summary

CVE-2025-5867 is a high-severity Improper Resource Shutdown or Release (CWE-404) vulnerability in Rt-Thread Rt-Thread. Its CVSS base score is 8.6 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 39% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

A critical null pointer dereference vulnerability exists in RT-Thread version 5.1.0 within the csys_sendto function of rt-thread/components/lwp/lwp_syscall.c. The flaw, tracked under CWE-476 and CWE-404, arises from improper handling of the to argument and carries a CVSS 4.0 score of 8.6 reflecting high impact on confidentiality, integrity, and availability.

An attacker with low privileges on an adjacent network can supply a crafted argument to the affected syscall, triggering the dereference. Successful exploitation can result in denial of service or potential escalation to full system control without user interaction.

Public references, including a GitHub issue and Vuldb entries, document the finding but do not detail specific patches or mitigation steps in the available information. The associated EPSS score remains low, with a current value of 0.0115 and a peak of 0.0140.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1489 Service Stop Impact
Adversaries may stop or disable services on a system to render those services unavailable to legitimate users.
T1499.001 OS Exhaustion Flood Impact
Adversaries may launch a denial of service (DoS) attack targeting an endpoint's operating system (OS).
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-25388Same product: Rt-Thread Rt-Thread
CVE-2024-25395Same product: Rt-Thread Rt-Thread
CVE-2024-25391Same product: Rt-Thread Rt-Thread
CVE-2024-24335Same product: Rt-Thread Rt-Thread
CVE-2024-24334Same product: Rt-Thread Rt-Thread
CVE-2024-25390Same product: Rt-Thread Rt-Thread
CVE-2024-25393Same product: Rt-Thread Rt-Thread
CVE-2024-25394Same product: Rt-Thread Rt-Thread
CVE-2025-5869Same product: Rt-Thread Rt-Thread
CVE-2024-25392Same product: Rt-Thread Rt-Thread

Affected Assets

rt-thread
rt-thread
5.1.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and evaluation can discover missing or incorrect resource releases after code is written.

Documented development standards and tools can enforce null-safety rules and safe pointer usage.

Engineering principles can require explicit resource acquisition/release patterns that stop improper shutdown from being introduced.

Priority-based resource allocation limits the blast radius when released resources are not returned to the pool.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly include coding standards for correct resource allocation and release.

DE.CM-09 partial match
prevents

Runtime monitoring can detect resource exhaustion caused by improper shutdown or release.

ID.AM-08 partial match
prevents

Lifecycle management of assets can encompass proper resource release at end-of-life or shutdown.

PR.IR-04 partial match
prevents

Capacity management helps surface leaks from unreleased resources but does not prevent the coding flaw.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect NULL dereference defects before release.

prevents

Including restart, recovery and media-handling instructions reduces the likelihood that resources or sensitive data will be left in an exposed or improperly released state after a failure.

prevents

Secure SDLC mandates defensive coding practices that can prevent NULL dereferences.

prevents

Application security requirements can specify input validation and pointer-safety rules.

prevents

Secure architecture principles encourage defensive design that avoids unsafe pointer use.

prevents

Secure coding standards directly require NULL-pointer checks and safe dereference patterns.

References