cve.bz

CVE-2025-67268 gpsd project gpsd: Heap-based Buffer Overflow

9.8 criticalExploit referenceEPSS 0.8%Fix available

Critical (9.8) in gpsd project gpsd. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
gpsd before commit dc966aa contains a heap-based out-of-bounds write vulnerability in the drivers/driver_nmea2000.c file. The hnd_129540 function, which handles NMEA2000 PGN 129540 (GNSS Satellites in View) packets, fails to validate the user-supplied satellite count against the size of the skyview array (184 elements). This allows an attacker to write beyond the bounds of the array by providing a satellite count up to 255, leading to memory corruption, Denial of Service (DoS), and potentially arbitrary code execution.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-01-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-1285 Improper Validation of Specified Index, Position, or Offset in Input
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-67268 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-67268?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-67268?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-67268 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gpsd_project:gpsdbefore 3.27.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11gpsd3.22-4+deb11u1DLA-4441-1
Debian12gpsd3.22-4.1+deb12u1DEBIAN-CVE-2025-67268
Debian13gpsd3.25-5+deb13u1DEBIAN-CVE-2025-67268
Debian14gpsd3.27.5-0.1DEBIAN-CVE-2025-67268
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTSgpsdno fix listedUBUNTU-CVE-2025-67268
Ubuntu22.04:LTSgpsd3.22-4ubuntu2.1UBUNTU-CVE-2025-67268
Ubuntu24.04:LTSgpsd3.25-3ubuntu3.2UBUNTU-CVE-2025-67268
Ubuntu25.10gpsd3.25-5ubuntu1.25.10.1UBUNTU-CVE-2025-67268
Ubuntu26.04:LTSgpsd3.27-1.1ubuntu1UBUNTU-CVE-2025-67268
Red Hatenterprise_linux:9::appstreamgpsd-minimal, gpsd-minimal-clients, gpsd-minimal-debuginfo and 2 more1:3.26.1-1.el9_7.1RHSA-2026:0771
Red Hatenterprise_linux:10.1gpsd, gpsd-clients, python3-gpsd and 4 more1:3.26.1-1.el10_1.1RHSA-2026:0770
Red Hatenterprise_linux_eus:10.0gpsd, gpsd-clients, python3-gpsd and 4 more1:3.25-17.el10_0.1RHSA-2026:1621
openSUSETumbleweedgpsd3.27.3-1.1openSUSE-SU-2026:10008-1
AlmaLinux9gpsd-minimal, gpsd-minimal-clients1:3.26.1-1.el9_7.1ALSA-2026:0771
AlmaLinux10gpsd, gpsd-clients, python3-gpsd1:3.26.1-1.el10_1.1ALSA-2026:0770
Rocky Linux9gpsd-minimal1:3.26.1-1.el9_7.1RLSA-2026:0771
Rocky Linux10gpsd1:3.26.1-1.el10_1.1RLSA-2026:0770

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated Important rather than Moderate because it results in a heap-based out-of-bounds write triggered by untrusted, attacker-controlled input processed in a core parsing path of gpsd. The satellite count field from a PGN 129540 NMEA2000 Fast Packet is used directly as a loop bound without validation, allowing a single malformed packet to deterministically overwrite heap memory beyond the fixed-size skyview array. Unlike logic errors that only cause graceful failures, this condition introduces active memory corruption, which can destabilize the daemon, corrupt adjacent heap objects, and compromise internal session state in ways that are non-recoverable without a restart. The flaw is reachable pre-authentication, requires no brute force or sustained traffic, and can be reliably triggered with minimal attacker effort once CAN bus access is obtained.

Red Hat's mitigation

Risk can be reduced by limiting exposure of gpsd to trusted NMEA2000/CAN bus sources only, ensuring that untrusted or externally reachable interfaces cannot inject crafted Fast Packets. Systems should avoid forwarding NMEA2000 traffic from bridged, virtualized, or containerized environments unless strict validation is in place, and gpsd should be run with least-privilege permissions to minimize the impact of a crash or corrupted state.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gpsd-1:3.26.1-1.el10_1.1Fixed 2026-01-19RHSA-2026:0770
Red Hat Enterprise Linux 10.0 Extended Update Supportgpsd-1:3.25-17.el10_0.1Fixed 2026-02-02RHSA-2026:1621
Red Hat Enterprise Linux 9gpsd-minimal-1:3.26.1-1.el9_7.1Fixed 2026-01-19RHSA-2026:0771

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-67268.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON