Back to overview

CVE-2026-60122

HIGH
7.8
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-60122
State
PUBLISHED
Assigner
VulnCheck
Reserved
2026-07-08 13:27 UTC
Published
2026-07-23 19:18 UTC
Last updated
2026-07-23 19:18 UTC
Primary CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
Vendor / Product
gpsd / gpsd
Sources
cve.org  ·  NVD

Severity & Metrics

7.8 HIGH CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products (1)
VendorProductPlatformVersions
gpsd gpsd 0 ≤ 3.27.5, 5a9c44a42136b9bb98d460a8a716e9fd344a8d93
Weakness (CWE)
CWESourceDescription
CWE-94 cna Improper Control of Generation of Code ('Code Injection')
CVSS scores (2)
ScoreSeverityVersionSourceVector
8.5 HIGH 4.0 cna 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
7.8 HIGH 3.1 cna CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Back to overview