Skip to main content

Nuttx EUVDEUVD-2025-18388

| CVE-2025-47869 CRITICAL
Buffer Overflow (CWE-119)
2025-06-16 security@apache.org
9.8
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

This vulnerability presents CRITICAL real-world risk despite being an 'example' application. CVSS 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) indicates network exploitability with no complexity or privileges required—unauthenticated remote attackers can achieve complete system compromise. The attack complexity is LOW, meaning exploitation does not require special conditions. The primary risk multiplier is that NuttX is embedded in IoT, aerospace, robotics, and industrial control systems where code reuse from examples is common; developers may have incorporated the vulnerable pattern directly into production firmware. The CVSS vector's 'Scope Unchanged' rating means the impact is confined to the NuttX system but complete (code execution, data theft, denial of service). Without EPSS, KEV status, or POC data explicitly provided, the threat level must be assessed as HIGH based on (1) ease of network-based exploitation, (2) severity of impact, and (3) likelihood of propagation through example-derived implementations. This is not a 'low-risk-high-CVSS' situation—it is genuinely exploitable and impactful.

Exploit ScenarioDerived

An attacker on the network identifies a device running NuttX RTOS with XMLRPC service enabled (commonly port 8080 or configurable). The attacker crafts a malicious XML-RPC method call targeting the device stats endpoint, embedding a crafted string parameter longer than the hardcoded buffer size (e.g., if the buffer is 128 bytes but CONFIG_XMLRPC_STRINGSIZE is 256, the attacker sends a 300-byte payload). The XMLRPC parser copies the oversized string into the device stats structure without bounds checking, overflowing the adjacent memory. Depending on memory layout, the attacker can overwrite return addresses on the stack to achieve remote code execution, corrupt heap metadata for arbitrary write, or corrupt adjacent data structures to trigger denial of service. No authentication is required; the attack is purely network-based. The attacker gains full system privileges (in embedded systems, the user context is typically root/privileged), allowing them to read sensor data, modify system behavior, install persistent backdoors, or disrupt critical control loops. In aerospace or industrial settings, this could result in mission failure or safety hazards.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 14, 2026

Buffer overflow vulnerability in the Apache NuttX RTOS xmlrpc example application where device statistics structures use hardcoded buffer sizes that do not account for the CONFIG_XMLRPC_STRINGSIZE configuration parameter, allowing remote attackers to overflow memory without authentication. This affects Apache NuttX RTOS versions 6.22 through 12.8.x, with a critical CVSS score of 9.8 indicating high severity across confidentiality, integrity, and availability. The vulnerability is particularly dangerous because developers may have copied the vulnerable example code into production implementations, extending the attack surface beyond the example application itself.

RemediationAI

Upgrade Apache NuttX RTOS to version 12.9.0 or later; details: The official fix updates device stats structure buffer members to size CONFIG_XMLRPC_STRINGSIZE+1, ensuring dynamic sizing based on configuration. Code Review: Audit custom implementations derived from the xmlrpc example application; details: Users who copied or adapted apps/examples/xmlrpc code must review their implementations and apply the same buffer sizing correction: replace hardcoded sizes with CONFIG_XMLRPC_STRINGSIZE+1 or dynamically allocated buffers. Workaround (Temporary): Restrict network access to XMLRPC interface if not essential; details: Disable or limit remote access to XMLRPC endpoints using firewall rules or NuttX network configuration to reduce exposure while awaiting patching. Configuration: Verify CONFIG_XMLRPC_STRINGSIZE setting; details: Ensure that any custom XMLRPC implementations enforce maximum input sizes consistent with the buffer allocation—do not allow configuration to exceed allocated memory.

Affected VersionsENISA

Apache NuttX RTOS 6.22 <12.9.0

Affected Packages

euvd apache_nuttx_rtos fix: 12.9.0

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 Apache NuttX RTOS (CPE: cpe:2.3:o:apache:nuttx:*:*:*:*:*:*:*:*) apps/examples/xmlrpc application, which implements XML-RPC protocol support. The root cause is CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), manifesting as a classic stack or heap buffer overflow. The device stats structure accepts remotely-provided parameters into fixed-size character arrays without bounds checking against the actual configured string size limit (CONFIG_XMLRPC_STRINGSIZE). When remote XML-RPC clients send payloads exceeding the hardcoded buffer dimensions, they can write beyond allocated memory boundaries. The fix involves dynamically sizing buffer members to CONFIG_XMLRPC_STRINGSIZE+1 to match the actual string length limits enforced elsewhere in the XMLRPC implementation, ensuring consistency between configuration and allocation.

Know when Nuttx 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 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 05:54 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
12.9.0
CVE Published
Jun 16, 2025 - 11:15 nvd
CRITICAL 9.8

DescriptionCVE.org

Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability was discovered in Apache NuttX RTOS apps/exapmles/xmlrpc application. In this example application device stats structure that stored remotely provided parameters had hardcoded buffer size which could lead to buffer overflow. Structure members buffers were updated to valid size of CONFIG_XMLRPC_STRINGSIZE+1.

This issue affects Apache NuttX RTOS users that may have used or base their code on example application as presented in releases from 6.22 before 12.9.0.

Users of XMLRPC in Apache NuttX RTOS are advised to review their code for this pattern and update buffer sizes as presented in the version of the example in release 12.9.0.

Executive ViewAI

Why It Matters

Apache NuttX RTOS versions 6.22-12.8.x contain a critical remote buffer overflow in the xmlrpc example application that allows unauthenticated attackers to compromise system confidentiality, integrity, and availability without requiring prior access. Organizations using NuttX in IoT, embedded, or real-time systems-especially those who have incorporated the vulnerable example code into production-face immediate risk of remote code execution and system takeover.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, implement network-level access controls to restrict connectivity to xmlrpc services to trusted networks only, and monitor for suspicious remote connections and memory access patterns indicative of buffer overflow exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.1%
Top 67% exploitable
Data Quality
5 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
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.

More in Nuttx

View all

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy