What’s Vulnerable › Vulnerabilities
CVE-2024-25198
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-02-20 · updated 2026-06-17
- Weakness: CWE-416
Description
Inappropriate pointer order of laser_scan_filter_.reset() and tf_listener_.reset() (amcl_node.cpp) in Open Robotics Robotic Operating Sytstem 2 (ROS2) and Nav2 humble versions leads to a use-after-free.
Affected products
- Opennav Nav2: from 1.1.0 through 1.1.17
- Open Source Robotics Foundation Robot Operating System (ROS): 2-humble
References
- https://github.com/ros-planning/navigation2/blob/main/nav2_amcl/src/amcl_node.cpp#L331-L344
- https://github.com/ros-planning/navigation2/pull/4068
- https://github.com/ros-planning/navigation2/pull/4070
- https://github.com/ros-planning/navigation2/blob/main/nav2_amcl/src/amcl_node.cpp#L331-L344
- https://github.com/ros-planning/navigation2/pull/4068
- https://github.com/ros-planning/navigation2/pull/4070
Get alerted when CVE-2024-25198 or the next vulnerability affects your stack