CVE-2025-67269 gpsd: gpsd: Denial of Service due to malformed NAVCOM packet parsing
HighCVSS 7.5
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
10 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/gpsd(Debian 12) | < 3.22-4.1+deb12u1; = 3.22-4.1 | 3.22-4.1+deb12u1 | Fixed |
| debian/gpsd(Debian 13) | < 3.25-5+deb13u1; = 3.25-5 | 3.25-5+deb13u1 | Fixed |
| debian/gpsd(Debian 14) | < 3.27.5-0.1; = 3.25-5; = 3.26.1-1; = 3.27-1 +1 more | 3.27.5-0.1 | Fixed |
| gpsd project gpsd | < 3.27.1 | 3.27.1 | Fixed |
| redhat enterprise linux | < 1:3.26.1-1.el9_7.1; < 1:3.26.1-1.el10_1.1 | 1:3.26.1-1.el9_7.1, 1:3.26.1-1.el10_1.1 | Fixed |
| redhat/gpsd(Red Hat enterprise_linux 10.1) | < 1:3.26.1-1.el10_1.1 | 1:3.26.1-1.el10_1.1 | Fixed |
| redhat/gpsd-minimal(Red Hat enterprise_linux 9) | < 1:3.26.1-1.el9_7.1 | 1:3.26.1-1.el9_7.1 | Fixed |
| ubuntu/gpsd(Ubuntu 22.04) | < 3.22-4ubuntu2.1 | 3.22-4ubuntu2.1 | Fixed |
| ubuntu/gpsd(Ubuntu 24.04) | < 3.25-3ubuntu3.2 | 3.25-3ubuntu3.2 | Fixed |
| ubuntu/gpsd(Ubuntu 26.04) | < 3.27-1.1ubuntu1 | 3.27-1.1ubuntu1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gpsd(Debian:12) | < 3.22-4.1+deb12u1 | 3.22-4.1+deb12u1 |
| debian/gpsd(Debian:12) | = 3.22-4.1 | No fix listed |
| debian/gpsd(Debian:13) | < 3.25-5+deb13u1 | 3.25-5+deb13u1 |
| debian/gpsd(Debian:13) | = 3.25-5 | No fix listed |
| debian/gpsd(Debian:14) | < 3.27.5-0.1 | 3.27.5-0.1 |
| debian/gpsd(Debian:14) | = 3.25-5 | No fix listed |
| debian/gpsd(Debian:14) | = 3.26.1-1 | No fix listed |
| debian/gpsd(Debian:14) | = 3.27-1 | No fix listed |
| debian/gpsd(Debian:14) | = 3.27-1.1 | No fix listed |
| redhat enterprise linux | < 1:3.26.1-1.el10_1.1 | 1:3.26.1-1.el10_1.1 |
| redhat enterprise linux | < 1:3.26.1-1.el9_7.1 | 1:3.26.1-1.el9_7.1 |
| ubuntu/gpsd(Ubuntu:22.04) | < 3.22-4ubuntu2.1 | 3.22-4ubuntu2.1 |
| redhat/gpsd(Red Hat:enterprise_linux:10.1) | < 1:3.26.1-1.el10_1.1 | 1:3.26.1-1.el10_1.1 |
| redhat/gpsd-minimal(Red Hat:enterprise_linux:9) | < 1:3.26.1-1.el9_7.1 | 1:3.26.1-1.el9_7.1 |
| ubuntu/gpsd(Ubuntu:24.04) | < 3.25-3ubuntu3.2 | 3.25-3ubuntu3.2 |
| ubuntu/gpsd(Ubuntu:26.04) | < 3.27-1.1ubuntu1 | 3.27-1.1ubuntu1 |
| gpsd project gpsd | < 3.27.1 | 3.27.1 |
References
- Debian Security Tracker CVE-2025-67269 vendor-advisory
- gitlab.com patch
- gitlab.com product
- github.com exploit third-party-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2426810 issue-tracking
- security.access.redhat.com
- RHSA-2026:0770 patch vendor-advisory
- RHSA-2026:0771 patch vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7948-1 vendor-advisory
- www.cve.org
- nvd.nist.gov
- bugs.debian.org issue-tracking