cbcvebase.
CVE-2026-58459
published 2026-07-09

CVE-2026-58459: gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device…

PriorityP263critical9.6CVSS 3.1
AVNACLPRNUIRSCCHIHAH
EPSS
2.86%
86.8th percentile
gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell commands by embedding backtick payloads in the gnuplot plot title without proper escaping. The subtype field sourced from a DEVICES JSON log entry or NMEA PGRMT sentence is written into a generated gnuplot program via a set title statement with only double-quote characters escaped, enabling arbitrary shell command execution as the user running gnuplot when the victim renders the generated plot through the gpsprof and gnuplot workflow.

Affected

3 ranges
VendorProductVersion rangeFixed in
gpsd_projectgpsd<= 3.27.5—
gpsd_projectgpsd——
ntpsecgpsd<= 3.27.5—

Detection & IOCsextracted from sources · hover to see the quote

  • →Look for backtick characters (`) embedded in GPS device subtype values within DEVICES JSON log entries or NMEA PGRMT sentences, which indicate attempted command injection payloads targeting gpsprof/gnuplot. ↗
  • →Monitor gnuplot process execution spawned by gpsprof for unexpected child processes, which would indicate successful command injection via the 'set title' statement in a generated gnuplot program. ↗
  • →Inspect generated gnuplot program files (produced by gpsprof) for 'set title' statements containing backtick sequences, which are the injection vector. ↗
  • →Flag gpsd versions through release-3.27.5 (i.e., any version prior to fix commit 4c06658) as vulnerable in asset inventory and patch management systems. ↗
  • ·Exploitation requires user interaction: a victim must actively process a specially crafted plot through gpsprof and gnuplot for the injected commands to execute. ↗
  • ·The attack surface is limited to environments where an attacker can control the GPS device subtype value — either via a malicious/compromised GPS device, a crafted DEVICES JSON log entry, or a spoofed NMEA PGRMT sentence. ↗
  • ·Affected packages confirmed on Red Hat Enterprise Linux 10 (gpsd) and Red Hat Enterprise Linux 9 (gpsd-minimal); Fedora and EPEL packages are also tracked as affected. ↗

CVSS provenance

nvdv3.19.6CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
nvdv4.08.4HIGHCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.