CVE-2025-67268

NameCVE-2025-67268
Descriptiongpsd 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4441-1
Debian Bugs1124800

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gpsd (PTS)bullseye3.22-4vulnerable
bullseye (security)3.22-4+deb11u1fixed
bookworm3.22-4.1vulnerable
trixie3.25-5vulnerable
forky, sid3.27.5-0.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gpsdsourcebullseye3.22-4+deb11u1DLA-4441-1
gpsdsource(unstable)3.27.5-0.11124800

Notes

[trixie] - gpsd <no-dsa> (Minor issue)
[bookworm] - gpsd <no-dsa> (Minor issue)
https://github.com/Jaenact/gspd_cve/blob/main/CVE-2025-67268/README.md
Fixed by: https://gitlab.com/gpsd/gpsd/-/commit/dc966aa74c075d0a6535811d98628625cbfbe3f4 (release-3.27.1)

Search for package or bug name: Reporting problems