Skip to content
OpenAdvisories
High · 7.5 CVE-2025-67269 EUVD-2026-0658GHSA-xcj3-m9c5-2prq

An integer underflow vulnerability exists in the `nextstate()` function in `gpsd/packet.c` of gpsd versions prior to commit `ffa1d6f40bca0b…

Published Jan 2, 2026 · Updated Jul 15, 2026 · Assigned by mitre

Description

An integer underflow vulnerability exists in the `nextstate()` function in `gpsd/packet.c` of gpsd versions prior to commit `ffa1d6f40bca0b035fc7f5e563160ebb67199da7`. When parsing a NAVCOM packet, the payload length is calculated using `lexer->length = (size_t)c - 4` without checking if the input byte `c` is less than 4. This results in an unsigned integer underflow, setting `lexer->length` to a very large value (near `SIZE_MAX`). The parser then enters a loop attempting to consume this massive number of bytes, causing 100% CPU utilization and a Denial of Service (DoS) condition.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gpsd 3.27.5-0.1 —
Debian 13 gpsd 3.25-5+deb13u1 —
Debian 12 gpsd 3.22-4.1+deb12u1 —
Debian 11 gpsd 3.22-4+deb11u1 DLA-4441-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS gpsd 3.27-1.1ubuntu1 —
Ubuntu 25.10 gpsd 3.25-5ubuntu1.25.10.1 —
Ubuntu 24.04 LTS gpsd 3.25-3ubuntu3.2 —
Ubuntu 22.04 LTS gpsd 3.22-4ubuntu2.1 —
Ubuntu 20.04 LTS gpsd No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS gpsd No fix yet —
Ubuntu 16.04 LTS gpsd No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 gpsd +2 1:3.26.1-1.el10_1.1 RHSA-2026:0770
RHEL 9 gpsd-minimal +1 1:3.26.1-1.el9_7.1 RHSA-2026:0771

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 gpsd +2 1:3.26.1-1.el10_1.1 ALSA-2026:0770
AlmaLinux 9 gpsd-minimal +1 1:3.26.1-1.el9_7.1 ALSA-2026:0771

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 gpsd 1:3.26.1-1.el10_1.1 RLSA-2026:0770
Rocky Linux 9 gpsd-minimal 1:3.26.1-1.el9_7.1 RLSA-2026:0771
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gpsd 3.27.3-1.1 openSUSE-SU-2026:10008-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 gpsd +2 1:3.26.1-1.0.1.el10_1.1 ELSA-2026-0770
Oracle Linux 9 gpsd-minimal +1 1:3.26.1-1.0.1.el9_7.1 ELSA-2026-0771

Advisories 11

References