Global Buffer Overflow Vulnerability in gpsd Package

gpsd Updated 04 Feb 2026

Summary

04/02/2026
N/A
Yes i
Unrated
Not published

OSV-2026-189: Global-buffer-overflow in gpsd_poll. Affects gpsd versions >= 6207b0a06a6c5c33dc366a856529b17244b04d2f, < 4f56109c04a747a44de37cd345d9d1f8cbc93bf6. Fixed in 4f56109c04a747a44de37cd345d9d1f8cbc93bf6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The gpsd package is an open-source service daemon that monitors GPS devices and provides location data to client applications. It is widely used in various applications requiring precise location tracking. The package is known for its ability to handle multiple GPS devices simultaneously and offers a range of features for data parsing and communication. However, like many software packages, gpsd is susceptible to vulnerabilities that can compromise its functionality and security.

Vulnerability Detail

The vulnerability identified in the gpsd package is a global buffer overflow occurring in the gpsd_poll function. This issue was reported through OSS-Fuzz, a service that identifies vulnerabilities in open-source software through fuzz testing. The specific crash type is a global buffer overflow during a read operation, which can lead to potential data corruption, application crashes, or even arbitrary code execution if exploited. The vulnerability was introduced in the codebase and has been fixed in a subsequent commit.

How To Fix

Minimum fixed version

4f56109c04a747a44de37cd345d9d1f8cbc93bf6

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can limit the input size to the gpsd_poll function to prevent buffer overflow. However, this is not a permanent solution and updating to the patched version is strongly recommended.

Conclusion

The global buffer overflow vulnerability in the gpsd package poses significant risks to applications relying on this service for GPS data. Users are strongly encouraged to update to the latest patched version to safeguard their systems against potential exploits. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.

See every vulnerability recorded for gpsd →

Share this vulnerability

FAQ

A global buffer overflow is a type of vulnerability where a program writes more data to a buffer than it can hold, potentially overwriting adjacent memory and leading to unpredictable behavior or security breaches.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check if your application is affected by this vulnerability.

Exploiting this vulnerability can lead to application crashes, data corruption, or unauthorized access to system resources, which can compromise the security and integrity of the application.

While limiting input size can serve as a temporary workaround, it is not a reliable long-term solution. Updating to the patched version is the best way to ensure security.

You can find more information about the gpsd package on its official repository or documentation pages, which provide insights into its features, usage, and updates.

Related vulnerabilities

Recent vulnerabilities recorded for gpsd.

How To Fix

Minimum fixed version

4f56109c04a747a44de37cd345d9d1f8cbc93bf6

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback