CVEfocus › CVE database › CVE-2026-58459

CVE-2026-58459gpsd gpsprof Command Injection via gnuplot plot title subtype field

CVSS 7.8 HighEPSS 2.9% (higher than 87% of CVEs)Published 2026-07-09Updated 2026-07-28Assigner: VulnCheck

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.

CWE-78

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have 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

14Fixed
4Fix pending
3Under investigation

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 26.04gpsdUnder investigationUBUNTU-CVE-2026-58459
Ubuntu 24.04gpsdUnder investigationUBUNTU-CVE-2026-58459
Ubuntu 22.04gpsdUnder investigationUBUNTU-CVE-2026-58459
Ubuntu 20.04gpsdFix pendingUBUNTU-CVE-2026-58459
Ubuntu 18.04gpsdFix pendingUBUNTU-CVE-2026-58459
Ubuntu 16.04gpsdFix pendingUBUNTU-CVE-2026-58459
Debian 14gpsdFixed3.27.5-1DEBIAN-CVE-2026-58459
Debian 13gpsdFixed3.25-5+deb13u2DEBIAN-CVE-2026-58459
Debian 12gpsdFix pendingDEBIAN-CVE-2026-58459
Red Hat Enterprise Linux 10gpsdFixed1:3.26.1-3.el10_2.1RHSA-2026:51075
Red Hat Enterprise Linux 10gpsd-clientsFixed1:3.26.1-3.el10_2.1RHSA-2026:51075
Red Hat Enterprise Linux 10python3-gpsdFixed1:3.26.1-3.el10_2.1RHSA-2026:51075
Red Hat Enterprise Linux 9gpsd-minimalFixed1:3.26.1-2.el9_8.1RHSA-2026:51153
Red Hat Enterprise Linux 9gpsd-minimal-clientsFixed1:3.26.1-2.el9_8.1RHSA-2026:51153
AlmaLinux 10gpsdFixed1:3.26.1-3.el10_2.1ALSA-2026:51075
AlmaLinux 10gpsd-clientsFixed1:3.26.1-3.el10_2.1ALSA-2026:51075
AlmaLinux 10python3-gpsdFixed1:3.26.1-3.el10_2.1ALSA-2026:51075
AlmaLinux 9gpsd-minimalFixed1:3.26.1-2.el9_8.1ALSA-2026:51153
AlmaLinux 9gpsd-minimal-clientsFixed1:3.26.1-2.el9_8.1ALSA-2026:51153
Rocky Linux 10gpsdFixed1:3.26.1-3.el10_2.1RLSA-2026:51075
Rocky Linux 9gpsd-minimalFixed1:3.26.1-2.el9_8.1RLSA-2026:51153

What the vendor says

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

Vendor advisories:

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.