CVE details
CVE-2025-67268
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 ports (2)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| astro/gpsd | gpsd | 3.25_3 | unaddressed | z7dr6ut7gs@snkmail.com |
| astro/gpsd | gpsd-nox11 | 3.25_3 | unaddressed | z7dr6ut7gs@snkmail.com |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>gpsd</name>
<range><lt>3.27.1</lt></range>
</package>
<package>
<name>gpsd-nox11</name>
<range><lt>3.27.1</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2025-67268</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2025-67268</url>
</references>
<dates>
<discovery>2026-01-02</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>