Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 1.8%top 24%

UBUNTU-CVE-2026-58459

0
High
Published: 07/09/2026 (07/09/2026, 17:17:00 UTC)
Source: GCVE Database
Product: gpsd

Description

gpsd versions through release 3.27.5 contain a command injection vulnerability in the gpsprof component. This flaw allows attackers controlling the GPS device subtype value to execute arbitrary shell commands by embedding backtick payloads in the gnuplot plot title. The vulnerability arises because only double-quote characters are escaped when writing the subtype field into a generated gnuplot program, enabling command execution as the user running gnuplot. The issue is fixed at commit 4c06658.

CVSS v4.0

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
gpsd
pkg:deb/ubuntu/[email protected]?arch=source&distro=xenial
Affected versions
=3.11-3=3.15-2=3.15-2build1
Ubuntu:18.04:LTSmore threats →ghsa
gpsd
pkg:deb/ubuntu/[email protected]?arch=source&distro=bionic
Affected versions
=3.16-4=3.17-3=3.17-5
Ubuntu:20.04:LTSmore threats →ghsa
gpsd
pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected 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
Ubuntu:22.04:LTSmore threats →ghsa
gpsd
pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy
Affected versions
=3.22-4=3.22-4ubuntu1=3.22-4ubuntu2=3.22-4ubuntu2.1
Ubuntu:24.04:LTSmore threats →ghsa
gpsd
pkg:deb/ubuntu/[email protected]?arch=source&distro=noble
Affected versions
=3.25-2ubuntu2=3.25-3ubuntu2=3.25-3ubuntu3=3.25-3ubuntu3.1=3.25-3ubuntu3.2
Ubuntu:26.04:LTSmore threats →ghsa
gpsd
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
=3.25-5ubuntu1=3.27-1.1=3.27-1.1ubuntu1=3.27.5-0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 11:35:03 UTC

Technical Analysis

The gpsd software up to version 3.27.5 has a command injection vulnerability in gpsprof. The subtype field from GPS device data, sourced from DEVICES JSON log entries or NMEA PGRMT sentences, is embedded into a gnuplot plot title with insufficient escaping (only double quotes are escaped). This allows an attacker who controls the subtype value to inject shell commands via backtick payloads, which are executed when the victim renders the plot using gpsprof and gnuplot. The vulnerability is fixed in commit 4c06658.

Potential Impact

An attacker able to control the GPS device subtype value can execute arbitrary shell commands with the privileges of the user running gnuplot. This can lead to unauthorized command execution on the affected system. There are no known exploits in the wild at this time.

Mitigation Recommendations

A fix is available and was introduced in commit 4c06658. Users should upgrade gpsd to a version that includes this commit to remediate the vulnerability. Until patched, avoid processing untrusted GPS device subtype data with gpsprof and gnuplot.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-58459
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
4.0

Threat ID: 6a58b45d68715ace43d6be1b

Added to database: 07/16/2026, 10:37:17 UTC

Last enriched: 07/16/2026, 11:35:03 UTC

Last updated: 07/31/2026, 19:24:49 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses