Description
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.
References
github.com/...ommit/dc966aa74c075d0a6535811d98628625cbfbe3f4
github.com/ntpsec/gpsd/blob/master/drivers/driver_nmea2000.c
github.com/...ct/gspd_cve/blob/main/CVE-2025-67268/README.md
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.