# CVE-2026-60122: gpsd: gpsd through release-3.27.5, fixed at commit 4c06658, contains a code injection vulnerability in the gpsprof utility...

CVE-2026-60122 is fixed in 5 products on 1 platform, first by RHSA-2026:65162, released July 23, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-60122
- Priority: High
- CVSS: 7.8 (important)
- EPSS: 0.0027
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 23, 2026

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gpsd Debian 13.5 (trixie) | 3.25-5+deb13u2 | [DEBIAN-CVE-2026-60122](https://patchblox.com/security/data/fix/linux/debian-cve-2026-60122.md) | Jul 31, 2026 |
| Linux | gpsd Debian 14 | 3.27.5-1 | [DEBIAN-CVE-2026-60122](https://patchblox.com/security/data/fix/linux/debian-cve-2026-60122.md) | Jul 31, 2026 |
| Linux | gpsd RHEL 10 | 3.26.1-3.el10_2.2 | [RHSA-2026:65162](https://patchblox.com/security/data/fix/linux/rhsa-2026-65162.md) | Jul 23, 2026 |
| Linux | gpsd almalinux 10 | 1:3.26.1-3.el10_2.2 | [ALSA-2026:65162](https://patchblox.com/security/data/fix/linux/alsa-2026-65162.md) | Sep 8, 2026 |
| Linux | gpsd ol 10 | 1:3.26.1-3.0.1.el10_2.2 | [ELSA-2026-65162-0](https://patchblox.com/security/data/fix/linux/elsa-2026-65162-0.md) | Sep 8, 2026 |
| Linux | gpsd rocky 10 | 1:3.26.1-3.el10_2.2 | [RLSA-2026:65162](https://patchblox.com/security/data/fix/linux/rlsa-2026-65162.md) | Sep 9, 2026 |
| Linux | gpsd-clients almalinux 10 | 1:3.26.1-3.el10_2.2 | [ALSA-2026:65162](https://patchblox.com/security/data/fix/linux/alsa-2026-65162.md) | Sep 8, 2026 |
| Linux | gpsd-clients ol 10 | 1:3.26.1-3.0.1.el10_2.2 | [ELSA-2026-65162-0](https://patchblox.com/security/data/fix/linux/elsa-2026-65162-0.md) | Sep 8, 2026 |
| Linux | gpsd-minimal RHEL 9 | 1:3.26.1-2.el9_8.2 | [RHSA-2026:65606](https://patchblox.com/security/data/fix/linux/rhsa-2026-65606.md) | Sep 13, 2026 |
| Linux | gpsd-minimal almalinux 9 | 1:3.26.1-2.el9_8.2 | [ALSA-2026:65606](https://patchblox.com/security/data/fix/linux/alsa-2026-65606.md) | Sep 8, 2026 |
| Linux | gpsd-minimal ol 9 | 1:3.26.1-2.0.1.el9_8.2 | [ELSA-2026-65606-0](https://patchblox.com/security/data/fix/linux/elsa-2026-65606-0.md) | Sep 9, 2026 |
| Linux | gpsd-minimal rocky 9 | 1:3.26.1-2.el9_8.2 | [RLSA-2026:65606](https://patchblox.com/security/data/fix/linux/rlsa-2026-65606.md) | Sep 9, 2026 |
| Linux | gpsd-minimal-clients RHEL 9 | 1:3.26.1-2.el9_8.2 | [RHSA-2026:65606](https://patchblox.com/security/data/fix/linux/rhsa-2026-65606.md) | Sep 13, 2026 |
| Linux | gpsd-minimal-clients almalinux 9 | 1:3.26.1-2.el9_8.2 | [ALSA-2026:65606](https://patchblox.com/security/data/fix/linux/alsa-2026-65606.md) | Sep 8, 2026 |
| Linux | gpsd-minimal-clients ol 9 | 1:3.26.1-2.0.1.el9_8.2 | [ELSA-2026-65606-0](https://patchblox.com/security/data/fix/linux/elsa-2026-65606-0.md) | Sep 9, 2026 |
| Linux | python3-gpsd almalinux 10 | 1:3.26.1-3.el10_2.2 | [ALSA-2026:65162](https://patchblox.com/security/data/fix/linux/alsa-2026-65162.md) | Sep 8, 2026 |
| Linux | python3-gpsd ol 10 | 1:3.26.1-3.0.1.el10_2.2 | [ELSA-2026-65162-0](https://patchblox.com/security/data/fix/linux/elsa-2026-65162-0.md) | Sep 8, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
