| Name | CVE-2026-60122 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| gpsd (PTS) | bullseye | 3.22-4 | vulnerable |
| bullseye (security) | 3.22-4+deb11u1 | vulnerable |
| bookworm | 3.22-4.1+deb12u1 | vulnerable |
| trixie | 3.25-5+deb13u1 | vulnerable |
| forky | 3.27.5-2 | fixed |
| sid | 3.27.5-3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| gpsd | source | (unstable) | 3.27.5-1 | | | |
Notes
[trixie] - gpsd <no-dsa> (Minor issue)
[bookworm] - gpsd <postponed> (Minor issue; code injection confined to the gpsprof diagnostic client via a hostile gpsd JSON stream or replayed log, local and requires user interaction)
[bullseye] - gpsd <postponed> (Minor issue; code injection confined to the gpsprof diagnostic client via a hostile gpsd JSON stream or replayed log, local and requires user interaction)
https://gitlab.com/gpsd/gpsd/-/work_items/406
Fixed by: https://gitlab.com/gpsd/gpsd/-/commit/5a9c44a42136b9bb98d460a8a716e9fd344a8d93