CVEfocus › CVE database › CVE-2024-39835

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

CVSS 7.8 HighEPSS 0.3% (higher than 19% of CVEs)Published 2025-07-17Updated 2025-07-18Assigner: canonical

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.

CWE-94CWE-95

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fix pending
1Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04ros-ros-commUnder investigationUBUNTU-CVE-2024-39835
Ubuntu 20.04ros-ros-commFix pendingUBUNTU-CVE-2024-39835
Ubuntu 18.04ros-ros-commFix pendingUBUNTU-CVE-2024-39835
Ubuntu 16.04ros-ros-commFix pendingUBUNTU-CVE-2024-39835
Debian 14ros-ros-commWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2024-39835
Debian 13ros-ros-commWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2024-39835
Debian 12ros-ros-commWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2024-39835

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: All ROS (1) versions are EOL, upgrade to a ROS 2 version.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.