CVE-2024-25199 in Opennav Nav2 and 1 more product
Inappropriate pointer order of map_sub_ and map_free(map_) (amcl_node.cpp) in Open Robotics Robotic Operating Sytstem 2 (ROS2) and Nav2 humble versions leads to a use-after-free.
Affects 2 products from 2 vendors. Facts below cite their sources.
Exploitable from adjacent network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Opennav | Nav2 | ≥ 1.1.0, ≤ 1.1.17 |
| Openrobotics | Robot Operating System | 2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Inappropriate pointer order of map_sub_ and map_free(map_) (amcl_node.cpp) in Open Robotics Robotic Operating Sytstem 2 (ROS2) and Nav2 humble versions leads to a use-after-free.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-25199 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-051956-H |
| CVSS vector | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| Published | 2024-02-20 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
A use-after-free vulnerability exists in the amcl_node.cpp file of Open Robotics Robotic Operating System 2 (ROS2) and Nav2 humble versions due to an inappropriate pointer order of map_sub_ and map_free(map_). This could allow an attacker to execute arbitrary code or cause a denial of service.
An attacker could exploit this vulnerability by sending specially crafted data to the affected ROS2 node, potentially leading to unauthorized access or system crashes.
Questions
What is CVE-2024-25199?
A use-after-free vulnerability exists in the amcl_node.cpp file of Open Robotics Robotic Operating System 2 (ROS2) and Nav2 humble versions due to an inappropriate pointer order of map_sub_ and map_free(map_). This could allow an attacker to execute arbitrary code or cause a denial of service.
What is the CVSS score for CVE-2024-25199?
CVE-2024-25199 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H. EPSS: 0.6%.
Is CVE-2024-25199 actively exploited?
No confirmed active exploitation of CVE-2024-25199 as of 2026-09-25.
How do I remediate CVE-2024-25199?
Priority: HIGH.
What systems are affected by CVE-2024-25199?
CVE-2024-25199 affects Opennav Nav2; Openrobotics Robot Operating System.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Opennav","product":"Nav2","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.