UBUNTU-CVE-2026-60122 (CVE-2026-60122)
Vulnerability from osv_ubuntu – Published: 2026-07-23 20:17 – Updated: 2026-08-17 21:17 – Source websitegpsd 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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gpsd",
"binary_version": "3.15-2build1"
},
{
"binary_name": "gpsd-clients",
"binary_version": "3.15-2build1"
},
{
"binary_name": "libgps22",
"binary_version": "3.15-2build1"
},
{
"binary_name": "libqgpsmm22",
"binary_version": "3.15-2build1"
},
{
"binary_name": "python-gps",
"binary_version": "3.15-2build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "gpsd",
"purl": "pkg:deb/ubuntu/gpsd@3.15-2build1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.11-3",
"3.15-2",
"3.15-2build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gpsd",
"binary_version": "3.17-5"
},
{
"binary_name": "gpsd-clients",
"binary_version": "3.17-5"
},
{
"binary_name": "libgps23",
"binary_version": "3.17-5"
},
{
"binary_name": "libqgpsmm23",
"binary_version": "3.17-5"
},
{
"binary_name": "python-gps",
"binary_version": "3.17-5"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "gpsd",
"purl": "pkg:deb/ubuntu/gpsd@3.17-5?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.16-4",
"3.17-3",
"3.17-5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gpsd",
"binary_version": "3.20-8ubuntu0.4"
},
{
"binary_name": "gpsd-clients",
"binary_version": "3.20-8ubuntu0.4"
},
{
"binary_name": "libgps26",
"binary_version": "3.20-8ubuntu0.4"
},
{
"binary_name": "libqgpsmm26",
"binary_version": "3.20-8ubuntu0.4"
},
{
"binary_name": "python3-gps",
"binary_version": "3.20-8ubuntu0.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "gpsd",
"purl": "pkg:deb/ubuntu/gpsd@3.20-8ubuntu0.4?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.17-7",
"3.19-3",
"3.20-1",
"3.20-3",
"3.20-4",
"3.20-4build1",
"3.20-5ubuntu1",
"3.20-6",
"3.20-8",
"3.20-8ubuntu0.1",
"3.20-8ubuntu0.2",
"3.20-8ubuntu0.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gpsd",
"binary_version": "3.22-4ubuntu2.1"
},
{
"binary_name": "gpsd-clients",
"binary_version": "3.22-4ubuntu2.1"
},
{
"binary_name": "gpsd-tools",
"binary_version": "3.22-4ubuntu2.1"
},
{
"binary_name": "libgps28",
"binary_version": "3.22-4ubuntu2.1"
},
{
"binary_name": "libqgpsmm28",
"binary_version": "3.22-4ubuntu2.1"
},
{
"binary_name": "python3-gps",
"binary_version": "3.22-4ubuntu2.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "gpsd",
"purl": "pkg:deb/ubuntu/gpsd@3.22-4ubuntu2.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.22-4",
"3.22-4ubuntu1",
"3.22-4ubuntu2",
"3.22-4ubuntu2.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gpsd",
"binary_version": "3.25-3ubuntu3.2"
},
{
"binary_name": "gpsd-clients",
"binary_version": "3.25-3ubuntu3.2"
},
{
"binary_name": "gpsd-tools",
"binary_version": "3.25-3ubuntu3.2"
},
{
"binary_name": "libgps30t64",
"binary_version": "3.25-3ubuntu3.2"
},
{
"binary_name": "libqgpsmm30t64",
"binary_version": "3.25-3ubuntu3.2"
},
{
"binary_name": "python3-gps",
"binary_version": "3.25-3ubuntu3.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "gpsd",
"purl": "pkg:deb/ubuntu/gpsd@3.25-3ubuntu3.2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.25-2ubuntu2",
"3.25-3ubuntu2",
"3.25-3ubuntu3",
"3.25-3ubuntu3.1",
"3.25-3ubuntu3.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gpsd",
"binary_version": "3.27.5-0.1"
},
{
"binary_name": "gpsd-clients",
"binary_version": "3.27.5-0.1"
},
{
"binary_name": "gpsd-tools",
"binary_version": "3.27.5-0.1"
},
{
"binary_name": "libgps32",
"binary_version": "3.27.5-0.1"
},
{
"binary_name": "libqgpsmm32",
"binary_version": "3.27.5-0.1"
},
{
"binary_name": "python3-gps",
"binary_version": "3.27.5-0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "gpsd",
"purl": "pkg:deb/ubuntu/gpsd@3.27.5-0.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.25-5ubuntu1",
"3.27-1.1",
"3.27-1.1ubuntu1",
"3.27.5-0.1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2026-60122",
"modified": "2026-08-17T21:17:51Z",
"published": "2026-07-23T20:17:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-60122"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-60122"
},
{
"type": "REPORT",
"url": "https://www.vulncheck.com/advisories/gpsd-gpsprof-code-injection-via-sky-satellites-used-field"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-60122"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.