Heap-based buffer overflow in gpsd - CVE-2025-67268

 

Heap-based buffer overflow in gpsd - CVE-2025-67268

Published: January 12, 2026


Vulnerability identifier: #VU121179
CSH Severity: High
CVSS v4: 7.7 [CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-67268
CWE-ID: CWE-122
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in drivers/driver_nmea2000.c when handling NMEA2000 PGN 129540 (GNSS Satellites in View) packets. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

gpsd
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Ubuntu
Anolis OS
openEuler
gpsd (Ubuntu package)
gpsd
gpsd-clients
gpsd-devel
gpsd-libs
gpsd-qt
gpsd-qt-devel
gpsd-xclients
python3-gpsd
gpsd-debuginfo
gpsd-debugsource
gpsd (Red Hat package)
gpsd-minimal (Red Hat package)

How to mitigate CVE-2025-67268

Install updates from vendor's website.

gpsd - update to 3.27.1
gpsd (Ubuntu package) - addressed in versions 3.22-4ubuntu2.1, 3.25-3ubuntu3.2, 3.25-5ubuntu1.25.04.1, 3.25-5ubuntu1.25.10.1
gpsd - update to 3.25-2
gpsd-clients - update to 3.25-2
gpsd-devel - update to 3.25-2
gpsd-libs - update to 3.25-2
gpsd-qt - update to 3.25-2
gpsd-qt-devel - update to 3.25-2
gpsd-xclients - update to 3.25-2
python3-gpsd - update to 3.25-2
gpsd-xclients - update to 3.25-3
gpsd-debuginfo - update to 3.25-3
python3-gpsd - update to 3.25-3
gpsd - update to 3.25-3
gpsd-clients - update to 3.25-3
gpsd-debugsource - update to 3.25-3
gpsd-devel - update to 3.25-3
gpsd-libs - update to 3.25-3
gpsd-qt - update to 3.25-3
gpsd-qt-devel - update to 3.25-3
gpsd (Red Hat package) - addressed in versions 3.25-17.el10_0.1, 3.26.1-1.el10_1.1
gpsd-minimal (Red Hat package) - update to 3.26.1-1.el9_7.1

External References

Related Security Bulletins