CVE-2025-67268
Gpsd Project Gpsd vulnerability
gpsd before commit dc966aa contains a heap-based out-of-bounds write vulnerability in the drivers/driver_nmea2000.c file. The hnd_129540 function, which handles NMEA2000 PGN 129540 (GNSS Satellites in View) packets, fails to validate the user-supplied satellite count against the size of the skyview array (184 elements). This allows an attacker to write beyond the bounds of the array by providing a satellite count up to 255, leading to memory corruption, Denial of Service (DoS), and potentially arbitrary code execution.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Gpsd. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gpsd Project Gpsd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ntpsec/gpsd/commit/dc966aa74c075d0a6535811d98628625cbfbe3f4 · Patch
- github.com/Jaenact/gspd_cve/blob/main/CVE-2025-67268/README.md · Exploit
- github.com/ntpsec/gpsd/blob/master/drivers/driver_nmea2000.c
- access.redhat.com/errata/RHSA-2026:0770
- access.redhat.com/errata/RHSA-2026:0771
- access.redhat.com/errata/RHSA-2026:1621
- access.redhat.com/security/cve/CVE-2025-67268
- bugzilla.redhat.com/show_bug.cgi?id=2426835
- nvd.nist.gov/vuln/detail/CVE-2025-67268
- cve.org/CVERecord?id=CVE-2025-67268
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.