Skip to main content

kosma minmea CVE-2026-29974

| EUVDEUVD-2026-28786 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-05-08 mitre GHSA-9p5f-57xg-vg2m
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify network-exposed NMEA parser
  2. Delivery
    Craft oversized NMEA sentence fields
  3. Exploit
    Send malicious GPS data to minmea_scan
  4. Execution
    Trigger unbounded stack copy
  5. Persist
    Overflow buffer and corrupt stack memory
  6. Impact
    Crash 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

NVD PRIMARY 7.5 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
May 08, 2026 - 19:22 NVD
7.5 (HIGH)
CVE Published
May 08, 2026 - 00:00 nvd
UNKNOWN (no severity yet)
CVE Published
May 08, 2026 - 00:00 nvd
HIGH 7.5

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 88% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy