CVE-2025-67268
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
gpsdNot 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-minimalNot specified
Not affected: from 1:3.26.1-1.el9_7.1 before *
CVE List
gpsd_project gpsdbefore 3.27.1NVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-122CWE-1285

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

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

SourceRecordLicence
CVE ListCVE-2025-67268 changed 2026-07-15CVE Terms of Use
NVDCVE-2025-67268 changed 2026-11-04Public domain