9.8critical
gpsd before commit dc966aa contains a heap-based out-of-bounds write vulnerability in the drivers/drivernmea2000.c file.
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.79% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| gpsd | Not specified Not affected: from 1:3.26.1-1.el10_1.1 before *, from 1:3.25-17.el10_0.1 before * | CVE List |
| gpsd-minimal | Not specified Not affected: from 1:3.26.1-1.el9_7.1 before * | CVE List |
| gpsd_project gpsd | before 3.27.1 | NVD |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| redhat-SADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
gpsd antes del commit dc966aa contiene una vulnerabilidad de escritura fuera de límites basada en el heap en el archivo drivers/driver_nmea2000.c. La función hnd_129540, que maneja los paquetes NMEA2000 PGN 129540 (Satélites GNSS a la vista), no valida el recuento de satélites proporcionado por el usuario contra el tamaño del arreglo skyview (184 elementos). Esto permite a un atacante escribir más allá de los límites del arreglo al proporcionar un recuento de satélites de hasta 255, lo que lleva a corrupción de memoria, denegación de servicio (DoS) y potencialmente ejecución de código arbitrario.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-67268 changed 2026-07-15 | CVE Terms of Use |
| NVD | CVE-2025-67268 changed 2026-11-04 | Public domain |