Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-exposed NMEA parser
-
DeliveryCraft oversized NMEA sentence fields
-
ExploitSend malicious GPS data to minmea_scan
-
ExecutionTrigger unbounded stack copy
-
PersistOverflow buffer and corrupt stack memory
-
ImpactCrash application (DoS) or execute code
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Applications must use kosma minmea library version 0.3.0 AND specifically invoke minmea_scan functions for NMEA field parsing. Critical prerequisite: the vulnerable application must process NMEA input from untrusted sources - either network-exposed NMEA streams (TCP/UDP GPS services, AIS receivers, GPSD network mode) or contexts where attackers can inject spoofed GPS signals that generate malicious NMEA sentences. Exploitation is limited in deployments where NMEA data originates exclusively from trusted local GPS hardware via serial/USB connections with physical access control. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates no authentication, user interaction, or complex timing requirements once network access to NMEA parser is achieved. Attacker must craft NMEA fields exceeding expected buffer sizes for the specific minmea_scan format specifiers used by target application - requires minimal reconnaissance of application's GPS sentence handling. |
| Impact | Real-world risk requires nuanced assessment despite the 7.5 CVSS score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates network-reachable remote exploitation without authentication, but the impact scope (S:U/C:N/I:N/A:H) is limited to denial of service with no confidentiality or integrity compromise. This substantially reduces severity for most deployment contexts compared to RCE vulnerabilities. The vulnerability requires applications to: (1) use minmea library, (2) call minmea_scan functions specifically, and (3) process untrusted NMEA input from network sources rather than dedicated GPS hardware. Many embedded implementations receive NMEA data from trusted local GPS modules via serial/USB, significantly limiting attack surface. Public exploit code exists (GitHub Gist reference), lowering exploitation barrier, but no CISA KEV listing suggests exploitation is not widespread in critical infrastructure. EPSS score unavailable prevents quantitative exploitation probability assessment. Primary risk exists in IoT/maritime/aviation systems exposing NMEA parsers to internet-sourced GPS data or spoofed GPS signals. Stack corruption could potentially enable code execution beyond DoS if attacker controls overflow data precisely, though CVSS reflects confirmed DoS impact only. For SSVC decision framework: exploitation is PUBLIC (PoC exists), automatable (network vector, no auth), technical impact is PARTIAL (availability only) - suggests scheduled patching priority rather than emergency response unless systems process untrusted NMEA streams. |
| Exploit ScenarioDerived | An attacker sends a specially crafted NMEA GPS sentence to an IoT device or maritime system running vulnerable minmea 0.3.0 parser exposed via TCP/UDP port. The malicious NMEA field contains oversized data exceeding the application's stack buffer allocation. When minmea_scan processes this input without bounds checking, it overflows the buffer, corrupting adjacent stack memory and crashing the GPS processing service. In sophisticated attacks against specific target environments with known stack layouts, attackers could potentially overwrite return addresses to achieve code execution beyond simple DoS. Public exploit demonstration code exists (GitHub Gist reference) providing attack proof-of-concept that lowers technical barrier for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
Stack buffer overflow in kosma minmea 0.3.0 allows remote unauthenticated attackers to cause denial of service through crafted NMEA field data. The minmea_scan function's format specifier copies data to caller-provided buffers without size validation, enabling memory corruption when processing untrusted NMEA GPS sentences. CVSS 7.5 (High) with network attack vector and low complexity, though impact is currently limited to availability (DoS). Public exploit demonstration exists via GitHub Gist reference. EPSS data not available, not listed in CISA KEV at time of analysis.
RemediationAI
Update to minmea version later than 0.3.0 if a patched release is available - verify current version at https://github.com/kosma/minmea/releases and review commit history for buffer overflow fixes. No specific patched version number is confirmed in available CVE references at time of analysis, requiring manual verification with upstream maintainer. If immediate patching is not feasible, implement input validation wrapper functions that enforce maximum field lengths before calling minmea_scan, though this requires source code modification and thorough testing to avoid breaking GPS functionality. Alternative mitigation: restrict NMEA input sources to trusted local GPS hardware only, blocking network-sourced NMEA streams entirely through firewall rules or application-level input filtering - this eliminates remote attack vector (AV:N) but may break legitimate use cases requiring networked GPS data. For systems that must process untrusted NMEA input, consider migrating to alternative NMEA parsing libraries with demonstrated secure string handling (e.g., gpsd's parser, libnmea). Compile applications with stack canaries (gcc -fstack-protector-strong) and ASLR enabled as defense-in-depth measures to detect/mitigate exploitation attempts - note these do not eliminate the vulnerability but increase exploitation difficulty. Review the exploit demonstration at https://gist.github.com/dwilliams27/6d4d8077b970f35e1a921c897ce13852 to understand attack vectors and validate mitigation effectiveness.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Minmea is a lightweight C library for parsing NMEA 0183 GPS sentences, commonly used in embedded systems and IoT devices for GPS data processing. The vulnerability resides in the minmea_scan function's format specifier implementation (lines 231-240 in minmea.c), which performs unbounded string copies when extracting field data from NMEA sentences. The function uses scanf-style format specifiers without length constraints, violating secure coding practices for C string handling. This is classified as CWE-121 (Stack-based Buffer Overflow), a critical memory safety defect in languages without automatic bounds checking. The affected component processes NMEA protocol data streams - standardized ASCII text messages from GPS/GNSS receivers containing position, time, and navigation information. CPE data shows extremely generic tagging (n/a:n/a), indicating limited vendor/product metadata in NVD at time of publication, consistent with small open-source library cataloging practices.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
An issue was discovered in kosma minmea 0.3.0. The minmea_scan functions format specifier copies NMEA field data to a caller-provided buffer without a size parameter. Applications using minmea_scan on untrusted input are vulnerable to a stack buffer overflow.
Executive ViewAI
A stack buffer overflow vulnerability in kosma minmea 0.3.0 enables remote attackers to crash systems processing GPS/NMEA data without authentication, affecting any application using this library for GPS sentence parsing. Organizations relying on minmea for navigation, IoT, or autonomous systems should assess exposure immediately, as publicly available exploit code reduces the barrier to attack.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict network access to NMEA data sources using firewall rules or air-gapping; (2) implement input validation upstream to reject malformed or oversized NMEA sentences before passing to minmea_scan; (3) deploy application-level monitoring for unexpected crashes or DoS patterns; (4) consider upgrading to minmea 0.4.0+ if available from vendor, or evaluate alternative GPS libraries such as gpsd or libgps.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-28786
GHSA-9p5f-57xg-vg2m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB