Bug 2513964 - CVE-2026-60122 gpsd: gpsd: Arbitrary OS command execution via code injection in gpsprof utility [fedora-all]
Summary: CVE-2026-60122 gpsd: gpsd: Arbitrary OS command execution via code injection ...
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: gpsd
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["33c61296-a70e-4f27-9a0c-9...
Depends On: 2524865
Blocks: CVE-2026-60122
TreeView+ depends on / blocked
 
Reported: 2026-08-11 14:09 UTC by Samuele Negrini
Modified: 2026-10-26 11:12 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Samuele Negrini 2026-08-11 14:09:17 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 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 1 Aoife Moloney 2026-08-17 15:52:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 2 Miroslav Lichvar 2026-10-26 11:11:12 UTC
The fix is commited in the f44, f45, and rawhide branch, but there is an issue with scons-4.11.0 breaking the gpsd build. I'm waiting for scons to be updated to 4.11.1.


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