Skip to content
VulniPulse
High7.8Red Hat Linux

High [CVE-2026-58459] Command Injection via GPS device subtype allows arbitrary code execution

This high-severity Red Hat Linux advisory covers CVE-2026-58459 affecting Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat package: gpsd-minimal.

CVE-2026-58459 Published Jul 9, 2026Updated by vendor Jul 9, 2026
Affected products & platforms
Red Hat LinuxRed Hat Enterprise Linux
Open vendor advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell commands by embedding backtick payloads in the gnuplot plot title without proper escaping.

The subtype field sourced from a DEVICES JSON log entry or NMEA PGRMT sentence is written into a generated gnuplot program via a set title statement with only double-quote characters escaped, enabling arbitrary shell command execution as the user running gnuplot when the victim renders the generated plot through the gpsprof and gnuplot workflow.

A flaw was found in gpsd, a service application that monitors one or more GPSes or AIS receivers. When a user processes a specially crafted plot through gpsprof and gnuplot, these embedded commands can be executed, leading to arbitrary code execution on the system.

Exploitation requires user interaction. Red Hat severity: Important — CVSS 7.8 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Weakness: CWE-78. Affected Red Hat products: Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 9.

Red Hat fixing advisory: RHSA-2026:51075, RHSA-2026:51153.

Affected products named by the advisory: Red Hat package: gpsd-minimal.

Affected versions
  • 3.27.5

Official advisory · high-confidence parse· fetched 12 days ago·verify at source

Fixed versions
  • gpsd-1:3.26.1-3.el10_2.1
  • gpsd-minimal-1:3.26.1-2.el9_8.1
  • RHSA-2026:51075
  • RHSA-2026:51153

Official advisory · high-confidence parse· fetched 12 days ago·verify at source

Mitigation

Upgrade to a fixed release: gpsd-1:3.26.1-3.el10_2.1, gpsd-minimal-1:3.26.1-2.el9_8.1, RHSA-2026:51075, RHSA-2026:51153. That is the remediation for this advisory.

The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.

Official advisory · high-confidence parse· fetched 12 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.