# CVE-2025-67269: An integer underflow vulnerability exists in the nextstate() function in gpsd/packet.c of gpsd versions prior to commit ffa1d6f40bca0b035fc…

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-02T00:00:00.000Z
- Modified: 2026-11-04T22:10:00.210Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gpsd: no versions given (not affected: from 1:3.26.1-1.el10_1.1 before *)
- gpsd-minimal: no versions given (not affected: from 1:3.26.1-1.el9_7.1 before *)
- gpsd_project gpsd: before 3.27.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Jaenact/gspd_cve/blob/main/CVE-2025-67269/README.md> (exploit, third-party-advisory)
- <https://gitlab.com/gpsd/gpsd/-/commit/ffa1d6f40bca0b035fc7f5e563160ebb67199da7> (patch)
- <https://gitlab.com/gpsd/gpsd> (product)
- <https://access.redhat.com/security/cve/CVE-2025-67269> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2426810> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-67269.json>
- <https://access.redhat.com/errata/RHSA-2026:0770> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:0771> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-67269](https://www.cve.org/CVERecord?id=CVE-2025-67269), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2025-67269](https://nvd.nist.gov/vuln/detail/CVE-2025-67269), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2025-67269 · Whole record: https://cve.day/CVE-2025-67269.json · Rebuilt by cve.day 2026-11-25T22:59:10.163Z
