Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attacker-supplied GPS data plus a required operator action gives AV:L/UI:R, no privileges needed (PR:N), and command execution yields full C/I/A within the operator's scope (S:U).
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
OS command injection in gpsd's gpsprof profiling utility (through release-3.27.5) lets an attacker who controls GPS input inject shell commands via the SKY.satellites[].used field. The value is written unsanitized into a gnuplot heredoc, so a crafted used value containing the heredoc terminator EOD closes the data block early and appends gnuplot system() calls that execute as the user running gpsprof in polar mode. No public exploit identified at time of analysis; the flaw is code-execution class (CWE-94) with a CVSS 4.0 base score of 8.5.
Technical ContextAI
gpsd is the GPS daemon and toolkit that parses feeds from GNSS receivers and exposes them to client applications on Linux/Unix systems. The affected component, gpsprof, is a Python profiling/plotting helper that collects SKY reports (satellite metadata, including the per-satellite used flag) and emits a gnuplot script to visualize signal geometry. The vulnerability is CWE-94 (Improper Control of Generation of Code): gpsprof embeds satellite data inside a gnuplot heredoc (a here-document delimited by the EOD marker) without escaping or validating field contents. Because gnuplot supports a system() function for shell command execution, any attacker-controlled data that can break out of the heredoc's data context is promoted from data to executable script. CPE cpe:2.3:a:gpsd:gpsd:*:*:*:*:*:*:*:* confirms the gpsd application itself is the affected product across versions up to the fix.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the gpsd fix from commit 4c06658 / https://gitlab.com/gpsd/gpsd/-/commit/5a9c44a42136b9bb98d460a8a716e9fd344a8d93, or upgrade to the first tagged gpsd release that includes it once published (versions through release-3.27.5 are vulnerable). Until a packaged release is available, the most effective compensating control is to avoid running gpsprof (especially in polar mode) against GPS feeds from untrusted or attacker-reachable receivers, since exploitation depends on that operator action. Where profiling is required, run gpsprof against captured/validated data from trusted receivers only, or run it under a low-privilege, sandboxed account so that any resulting command execution is confined; the trade-off is reduced convenience for operators and loss of live-plotting workflows. Restricting who can supply GPS input to the profiled daemon (physical/network access to the receiver source) further reduces exposure. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/gpsd-gpsprof-code-injection-via-sky-satellites-used-field) and upstream work item https://gitlab.com/gpsd/gpsd/-/work_items/406 for details.
gpsd (before commit dc966aa) has a heap buffer overflow in the NMEA2000 satellite view handler (PGN 129540). A malicious
An integer underflow vulnerability exists in the `nextstate()` function in `gpsd/packet.c` of gpsd versions prior to com
An integer underflow vulnerability exists in the NTRIP Stream Parsing functionality of GPSd 3.25.1~dev. Rated high sever
The NMEA0183 driver in gpsd before 3.9 allows remote attackers to cause a denial of service (daemon termination) and pos
Arbitrary shell command execution in gpsd's gpsprof profiling tool (through release-3.27.5) allows an attacker who contr
Same weakness CWE-94 – Code Injection
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Liberty Linux 9 | Fixed |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-48380
GHSA-9m96-crvq-5qcj