CVE-2024-39835 Unsafe use of eval() method in roslaunch tool

High 7.8 Published Updated

Attackers can execute arbitrary Python code via unsanitized parameters in the ROS roslaunch tool due to unsafe eval() usage.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-39835?

CVE-2024-39835 is a high-severity code injection vulnerability in Open Source Robotics Foundation Robot Operating System (ROS), published on 17 Jul 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-95, CWE-94

Which versions are affected by CVE-2024-39835?

It affects 1 product.

Products include Openrobotics Robot Operating System.

How do I fix CVE-2024-39835?

No fix has been published for CVE-2024-39835 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-39835 being exploited?

There is no known exploitation of CVE-2024-39835 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2024-39835, GHSA-627q-xcr8-8qpc, UBUNTU-CVE-2024-39835.

Is CVE-2024-39835 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free