CVE-2025-67269

Name
CVE-2025-67269
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
cve@mitre.org https://github.com/Jaenact/gspd_cve/blob/main/CVE-2025-67269/README.md
cve@mitre.org https://gitlab.com/gpsd/gpsd
cve@mitre.org https://gitlab.com/gpsd/gpsd/-/commit/ffa1d6f40bca0b035fc7f5e563160ebb67199da7
0b0ca135-0b70-47e7-9f44-1890c2a1c46c https://access.redhat.com/errata/RHSA-2026:0770
0b0ca135-0b70-47e7-9f44-1890c2a1c46c https://access.redhat.com/errata/RHSA-2026:0771
0b0ca135-0b70-47e7-9f44-1890c2a1c46c https://access.redhat.com/security/cve/CVE-2025-67269
0b0ca135-0b70-47e7-9f44-1890c2a1c46c https://bugzilla.redhat.com/show_bug.cgi?id=2426810
0b0ca135-0b70-47e7-9f44-1890c2a1c46c https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-67269.json

Match rules

CPE URI Source package Min version Max version
n/a == n/a == None
cpe:2.3:a:gpsd_project:gpsd:*:*:*:*:*:*:*:* gpsd >= None < 3.27.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gpsd edge-main 3.26.1-r0 Nathan Angelacos <nangel@alpinelinux.org> possibly vulnerable
gpsd edge-main 3.25-r3 Nathan Angelacos <nangel@alpinelinux.org> possibly vulnerable
gpsd edge-main 3.25-r2 Nathan Angelacos <nangel@alpinelinux.org> possibly vulnerable
gpsd 3.23-main 3.26.1-r0 Nathan Angelacos <nangel@alpinelinux.org> possibly vulnerable
gpsd 3.22-main 3.26.1-r0 Nathan Angelacos <nangel@alpinelinux.org> possibly vulnerable
gpsd 3.21-main 3.25-r2 Nathan Angelacos <nangel@alpinelinux.org> possibly vulnerable
gpsd 3.20-main 3.25-r2 Nathan Angelacos <nangel@alpinelinux.org> possibly vulnerable
gpsd 3.19-main 3.25-r1 Nathan Angelacos <nangel@alpinelinux.org> possibly vulnerable