CVE-2026-60122gpsd gpsprof Code Injection via SKY.satellites used Field
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | gpsd | Under investigation | UBUNTU-CVE-2026-60122 | |
| Ubuntu 24.04 | gpsd | Under investigation | UBUNTU-CVE-2026-60122 | |
| Ubuntu 22.04 | gpsd | Under investigation | UBUNTU-CVE-2026-60122 | |
| Ubuntu 20.04 | gpsd | Fix pending | UBUNTU-CVE-2026-60122 | |
| Ubuntu 18.04 | gpsd | Fix pending | UBUNTU-CVE-2026-60122 | |
| Ubuntu 16.04 | gpsd | Fix pending | UBUNTU-CVE-2026-60122 | |
| Debian 14 | gpsd | Fixed | 3.27.5-1 | DEBIAN-CVE-2026-60122 |
| Debian 13 | gpsd | Fixed | 3.25-5+deb13u2 | DEBIAN-CVE-2026-60122 |
| Debian 12 | gpsd | Fix pending | DEBIAN-CVE-2026-60122 | |
| Red Hat Enterprise Linux 10 | gpsd | Fixed | 1:3.26.1-3.el10_2.2 | RHSA-2026:65162 |
| Red Hat Enterprise Linux 10 | gpsd-clients | Fixed | 1:3.26.1-3.el10_2.2 | RHSA-2026:65162 |
| Red Hat Enterprise Linux 10 | python3-gpsd | Fixed | 1:3.26.1-3.el10_2.2 | RHSA-2026:65162 |
| Red Hat Enterprise Linux 9 | gpsd-minimal | Fixed | 1:3.26.1-2.el9_8.2 | RHSA-2026:65606 |
| Red Hat Enterprise Linux 9 | gpsd-minimal-clients | Fixed | 1:3.26.1-2.el9_8.2 | RHSA-2026:65606 |
| AlmaLinux 10 | gpsd | Fixed | 1:3.26.1-3.el10_2.2 | ALSA-2026:65162 |
| AlmaLinux 10 | gpsd-clients | Fixed | 1:3.26.1-3.el10_2.2 | ALSA-2026:65162 |
| AlmaLinux 10 | python3-gpsd | Fixed | 1:3.26.1-3.el10_2.2 | ALSA-2026:65162 |
| AlmaLinux 9 | gpsd-minimal | Fixed | 1:3.26.1-2.el9_8.2 | ALSA-2026:65606 |
| AlmaLinux 9 | gpsd-minimal-clients | Fixed | 1:3.26.1-2.el9_8.2 | ALSA-2026:65606 |
| Rocky Linux 10 | gpsd | Fixed | 1:3.26.1-3.el10_2.2 | RLSA-2026:65162 |
| Rocky Linux 9 | gpsd-minimal | Fixed | 1:3.26.1-2.el9_8.2 | RLSA-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.
- gpsd: affected: up to 3.27.5, 5a9c44a42136b9bb98d460a8a716e9fd344a8d93 not affected
Vendor advisories:
References
- https://gitlab.com/gpsd/gpsd/-/work_items/406
- https://gitlab.com/gpsd/gpsd/-/commit/5a9c44a42136b9bb98d460a8a716e9fd344a8d93
- https://www.vulncheck.com/advisories/gpsd-gpsprof-code-injection-via-sky-satellites-used-field
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.