gpsd/packet.c of gpsd · Integer Underflow Vulnerability Exists
Affects gpsdSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 3.22-4ubuntu2.1 : patch gpsd soon.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.22-4ubuntu2.1, 3.25-3ubuntu3.2, 3.25-5ubuntu1.25.10.1 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSgpsdpkg:deb/ubuntu/gpsd?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10gpsdpkg:deb/ubuntu/gpsd?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSgpsdpkg:deb/ubuntu/gpsd?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSgpsdpkg:deb/ubuntu/gpsd?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSgpsdpkg:deb/ubuntu/gpsd?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSgpsdpkg:deb/ubuntu/gpsd?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.