CVE-2025-67269 Details
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.
A denial-of-service vulnerability has been identified in gpsd, specifically in versions prior to 3.27.1. The issue arises from an integer underflow in the 'nextstate()' function within 'gpsd/packet.c', when the parser handles NAVCOM packets. The vulnerability occurs because the payload length is calculated by subtracting 4 from the packet ID byte, without verifying if the ID is greater than or equal to 4. This oversight allows the calculation to underflow, resulting in a very large length value. Consequently, the parser enters a loop trying to process this excessive amount of data, causing 100% CPU usage and effectively hanging the daemon until it is restarted.
Users can upgrade to gpsd version 3.27.1 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-191 | Integer Underflow (Wrap or Wraparound) | redhat-SADP |
| CWE-191 | Integer Underflow (Wrap or Wraparound) | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| gpsd project gpsd | < 3.27.1 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Translated | [email protected] |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 9, 2026 | Initial Analysis | [email protected] |
| Jan 6, 2026 | CVE Modified | CISA-ADP |
| Jan 2, 2026 | New CVE Received | [email protected] |