CVE-2024-25198: Use After Free
Source CVE Database V5
Not known to be exploited · CVSS 9.1 Critical.
Data as of 26 Oct 2026, 11:07 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
To mitigate CVE-2024-25198, organizations should first monitor for official patches or updates from the ROS2 and Nav2 maintainers and apply them promptly once available. In the interim, developers should review and correct the pointer reset order in amcl_node.cpp to prevent use-after-free conditions. Employing memory safety tools such as AddressSanitizer during development and testing can help detect similar issues early. Network-level protections should be enhanced to restrict access to ROS2 nodes, including firewall rules, VPNs, and network segmentation to limit exposure. Implement runtime monitoring and anomaly detection to identify unusual behavior indicative of exploitation attempts. Additionally, consider deploying robotic systems with least privilege principles and isolating critical components to reduce the blast radius of potential attacks. Regular code audits and static analysis focused on memory management are recommended to prevent recurrence of such vulnerabilities.
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.