Bug 2506581 (CVE-2026-60122) - CVE-2026-60122 gpsd: gpsd: Arbitrary OS command execution via code injection in gpsprof utility
Summary: CVE-2026-60122 gpsd: gpsd: Arbitrary OS command execution via code injection ...
Keywords:
Status: NEW
Alias: CVE-2026-60122
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2513964 2513965
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-23 20:01 UTC by OSIDB Bzimport
Modified: 2026-09-08 18:45 UTC (History)
2 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:65162 0 None None None 2026-09-08 10:15:23 UTC
Red Hat Product Errata RHSA-2026:65606 0 None None None 2026-09-08 18:45:06 UTC

Description OSIDB Bzimport 2026-07-23 20:01:30 UTC
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.

Comment 3 errata-xmlrpc 2026-09-08 10:15:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:65162 https://access.redhat.com/errata/RHSA-2026:65162

Comment 4 errata-xmlrpc 2026-09-08 18:45:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:65606 https://access.redhat.com/errata/RHSA-2026:65606


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