Bug 2498939 - CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution [epel-all]
Summary: CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows ar...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: gpsd-epel
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Troy Dawson
QA Contact:
URL:
Whiteboard: {"flaws": ["5dd130ce-acb2-4d33-9004-8...
Depends On:
Blocks: CVE-2026-58459
TreeView+ depends on / blocked
 
Reported: 2026-07-10 08:22 UTC by Marian Rehak
Modified: 2026-07-13 13:52 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-07-10 08:22:51 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Troy Dawson 2026-07-13 13:52:11 UTC
Waiting for release in RHEL 10 so I can build this for epel.


Note You need to log in before you can comment on or make changes to this bug.