Heap-based buffer overflow in gpsd - CVE-2025-67268
Published: January 12, 2026
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
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
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
- Multiple vulnerabilities in gpsd
- Ubuntu update for gpsd
- Red Hat Enterprise Linux 10 update for gpsd
- Red Hat Enterprise Linux 9 update for gpsd-minimal
- Red Hat Enterprise Linux 10 update for gpsd
- Anolis OS update for gpsd
- openEuler 24.03 LTS SP3 update for gpsd
- openEuler 24.03 LTS SP1 update for gpsd