Logo
vulnerabilityCVE-2025-67269
Name
CVE-2025-67269
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
gpsd
Exploitable

Vulnerability Ratings#


7.5
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
3.25
Patched
buildroot
master
3.27.5
Not Affected
openwrt
master
3.26.1-r2
Exploitable
openwrt
openwrt-25.12
3.26.1-r1
Exploitable
yocto
master
3.27.5
Not Affected
yocto
scarthgap
3.24
Patched

Resolved with patches#


gpsd (buildroot:2025.02.x)

#
Title
Author
Resolve
1
gpsd/packet.c: Fix integer underflow is malicious Navcom
"Gary E. Miller" <gem@rellim.com>
CVE-2025-67269

gpsd (yocto:scarthgap)

#
Title
Author
Resolve
1
gpsd/packet.c: Fix integer underflow is malicious Navcom
"Gary E. Miller" <gem@rellim.com>
CVE-2025-67269