CVE-2026-58459

gpsd gpsprof Command Injection via gnuplot plot title subtype field

Published Jul 9, 2026 CVSS 4.0 · 8.4 High EPSS 2.9% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gpsd Project
Gpsd Project gpsd
CPEs cpe:2.3:a:gpsd_project:gpsd:*:*:*:*:*:*:*:*
Vendors & Products Gpsd Project
Gpsd Project gpsd
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ntpsec
Ntpsec gpsd
Vendors & Products Ntpsec
Ntpsec gpsd
Type Values Removed Values Added
Description 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.
Title gpsd gpsprof Command Injection via gnuplot plot title subtype field
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 28, 2026, 1:49 AM
Reserved
Jun 30, 2026, 8:20 PM
Status
Analyzed
Published
Jul 9, 2026, 5:17 PM
Modified
Oct 25, 2026, 5:10 PM
Severity
Important
Public date
Jul 9, 2026, 4:14 PM