Bug 2498940 - CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution [fedora-all]
Summary: CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows ar...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gpsd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
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-21 00:56 UTC (History)
2 users (show)

Fixed In Version: gpsd-3.27.5-5.fc44
Clone Of:
Environment:
Last Closed: 2026-07-21 00:56:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-07-10 08:22:55 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 Fedora Update System 2026-07-14 08:16:34 UTC
FEDORA-2026-d61fcb86ed (gpsd-3.26.1-7.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d61fcb86ed

Comment 2 Fedora Update System 2026-07-14 08:16:50 UTC
FEDORA-2026-36e3aa0593 (gpsd-3.27.5-5.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-36e3aa0593

Comment 3 Fedora Update System 2026-07-21 00:56:37 UTC
FEDORA-2026-36e3aa0593 (gpsd-3.27.5-5.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


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