CVEfocus › CVE database › CVE-2026-60122

CVE-2026-60122gpsd gpsprof Code Injection via SKY.satellites used Field

CVSS 7.8 HighEPSS 0.3% (higher than 11% of CVEs)Published 2026-07-23Updated 2026-07-28Assigner: VulnCheck

gpsd through release-3.27.5, fixed at commit 4c06658, contains a code injection vulnerability in the gpsprof utility that allows an attacker who controls GPS input data to execute arbitrary OS commands by injecting malicious content into the SKY.satellites[].used field, which is inserted unsanitized into a gnuplot heredoc data block. Attackers can supply a used value containing the string EOD to terminate the heredoc early and append gnuplot system() calls, achieving OS command execution as the user running gpsprof when the generated plot script is processed by gnuplot in polar mode.

CWE-94

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

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.