A code injection vulnerability has been discovered in the Robot Operating System 2 (ROS 2) 'ros2topic' command-line tool, affecting all ROS 2 distributions from Crystal Clemmys up to and including Lyrical Luth and Rolling Ridley. The vulnerability lies in the 'hz' verb, which reports the publishing rate of a topic and accepts a user-provided Python expression via the --filter option. This input is passed directly to the eval() function without sanitization, allowing a local user to craft and execute arbitrary code.
CVE-2024-42002
This high-severity CVE scores 8.4 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2% (4th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
An upstream fix is merged but not yet released — mitigate (WAF / firewall / segmentation) until the release ships, then apply it.
- CVSS v3
- 8.4
- EG Score
- 8.4HIGHmedium confidence
- EG Risk
- 38EG Risk 38/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity84% × 45%Exploitation0% × 40%Automatability0% × 15%CISA SSVC: Track at low or medium mission impact; Track* at high (mission-essential systems).Action: An upstream fix is merged but not yet in a tagged release. Restrict network exposure of the affected system or apply the vendor's mitigation within your standard update timelines until it ships, then apply the release. - EPSS PROB
- 0.2%
- EPSS %ILE
- 4th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track* at high (mission-essential systems).
An upstream fix is merged but not yet in a tagged release. Restrict network exposure of the affected system or apply the vendor's mitigation within your standard update timelines until it ships, then apply the release.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
September 28, 2026
Last Modified
September 30, 2026
Advisory Details (2)
Auto-updated Sep 28, 2026Enable ros2tpoic hz command
Fix merged in ros2/ros2cli PR #133 on 2018-10-26 — awaiting tagged release
https://github.com/ros2/ros2cli/pull/133#discussion_r223081766Patch CVE-2024-42002
Upstream fix in progress (PR #1001 · ros2/ros2cli, state=open)
https://github.com/ros2/ros2cli/pull/1001Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 12× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-02 23:56 UTCEG score recompute
- 2026-10-02 00:57 UTCEG score recompute
- 2026-10-01 19:48 UTCEPSS rescore
- 2026-10-01 02:01 UTCEG score recompute
- 2026-09-30 15:01 UTCEPSS rescore
- 2026-09-30 14:31 UTCEG score recompute
- 2026-09-30 13:53 UTCEG score recompute
- 2026-09-29 19:07 UTCEG score recompute
- 2026-09-29 15:17 UTCEPSS rescore
- 2026-09-28 22:29 UTCEG score recompute
- 2026-09-28 21:42 UTCEG score recompute
- 2026-09-28 21:41 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2024-42002?
When was CVE-2024-42002 disclosed?
Is CVE-2024-42002 actively exploited?
What is the CVSS score of CVE-2024-42002?
How do I remediate CVE-2024-42002?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2024-42002
Is Your Infrastructure Affected by CVE-2024-42002?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.