Vulnerability · Published Jul 17, 2025 · Assigned by canonical
CVE-2024-39835Unsafe use of eval() method in roslaunch tool
High 7.8
In plain English
A high-severity code injection in Robot Operating System (ROS) from Open Source Robotics Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities).
Official description
A code injection vulnerability has been identified in the Robot Operating System (ROS) 'roslaunch' command-line tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability arises from the use of the eval() method to process user-supplied, unsanitized parameter values within the substitution args mechanism, which roslaunch evaluates before launching a node. This flaw allows attackers to craft and execute arbitrary Python code.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ros-ros-comm | no fix listed | DEBIAN-CVE-2024-39835 |
| Debian:13 | ros-ros-comm | no fix listed | DEBIAN-CVE-2024-39835 |
| Debian:14 | ros-ros-comm | no fix listed | DEBIAN-CVE-2024-39835 |
| Ubuntu:22.04:LTS | ros-ros-comm | no fix listed | UBUNTU-CVE-2024-39835 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Open Source Robotics Foundation | Robot Operating System (ROS) | Noetic NinjemysMelodic MoreniaKinetic KameIndigo Igloo |
Weakness: CWE-95, CWE-94 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H