# CVE-2024-25199: Inappropriate pointer order of mapsub and mapfree(map) (amclnode.cpp) in Open Robotics Robotic Operating Sytstem 2 (ROS2) and Nav2 humble v…

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-20T00:00:00.000Z
- Modified: 2026-06-17T07:15:41.267Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- openrobotics robot_operating_system: 2
- opennav nav2: from 1.1.0 up to 1.1.17

## References

- <https://github.com/ros-planning/navigation2/pull/4078> (exploit, issue-tracking, patch)
- <https://github.com/ros-planning/navigation2/blob/main/nav2_amcl/src/amcl_node.cpp#L331-L344> (product)
- <https://github.com/ros-planning/navigation2/pull/4079> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2024-25199](https://www.cve.org/CVERecord?id=CVE-2024-25199), CVE Terms of Use, modified 2024-08-29
- NVD: [CVE-2024-25199](https://nvd.nist.gov/vuln/detail/CVE-2024-25199), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-25199 · Whole record: https://cve.day/CVE-2024-25199.json · Rebuilt by cve.day 2026-11-25T22:58:36.927Z
