CVE-2025-67269

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

High · published January 2, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
46.0
In the wild
Unconfirmed
What it is

⚡ A sneaky integer underflow in the `nextstate()` function of gpsd could send your server into a frenzy, consuming 100% CPU! Think of it like a restaurant that miscalculates its seating capacity. If a single reservation accidentally claims hundreds of seats, the kitchen will be overwhelmed trying to serve an impossible number of meals, causing chaos and long wait times. This vulnerability can plunge your system into a Denial of Service (DoS), rendering it unresponsive as it spirals into an endless loop of processing an absurdly large number of bytes. It's absolutely devastating for any application relying on gpsd, leading to downtime and frustration for users.

Put simply

Think of it like a restaurant that miscalculates its seating capacity. If a single reservation accidentally claims hundreds of seats, the kitchen will be overwhelmed trying to serve an impossible number of meals, causing chaos and long wait times. The flaw arises when the payload length is calculated without checking if the input byte is less than 4, leading to an unsigned integer underflow that causes the parser to attempt to handle an unrealistically large number of bytes.

What to do

This vulnerability can plunge your system into a Denial of Service (DoS), rendering it unresponsive as it spirals into an endless loop of processing an absurdly large number of bytes. It's absolutely devastating for any application relying on gpsd, leading to downtime and frustration for users. To protect your system, upgrade to the latest version of gpsd that includes the patch (post commit `ffa1d6f40bca0b035fc7f5e563160ebb67199da7`). Regularly review and test your systems to ensure you're not running vulnerable versions. Implement input validation to catch potential issues like this in the future. You've got this! Secure your systems and keep everything running smoothly! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00563 · 46.0th percentile
Published
2026-01-02T00:00Z
EPSS history
Timeline
  • 02 JAN 00:00Z
    An integer underflow vulnerability exists in the `nextstate()` function in `gpsd/packet.c` of gpsd versions prior to commit…
    cvelistv5