Skip to main content

Gmt EUVDEUVD-2026-13784

| CVE-2026-33147 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-03-20 GitHub_M
7.3
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious dataset identifier string
  2. Exploit
    Pass to GMT which module
  3. Execution
    Trigger stack buffer overflow in gmt_remote_dataset_id
  4. Impact
    Execute arbitrary code locally

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
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

Local attacker with ability to invoke GMT command-line tools (e.g., gmt which) with specially crafted dataset identifier strings. Affects GMT versions 6.6.0 and prior. No authentication required; no user interaction needed. Attacker must execute malicious command locally on system where GMT is installed.

Impact

The CVSS v3.1 vector (AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H) indicates a local attack vector with low complexity and no privileges required, resulting in high availability impact and low confidentiality and integrity impact. While the local attack vector reduces remote exploitation risk, the lack of required privileges or user interaction makes exploitation straightforward once an attacker has local access. The vulnerability enables potential arbitrary code execution (tagged as RCE), which significantly elevates risk beyond the availability impact suggested by the CVSS score. Given that GMT is commonly used in research and data processing environments where untrusted datasets might be processed, the real-world risk is moderate to high for organizations using affected versions. A patch has been released (commit 0ad2b49), which is critical for risk mitigation. No EPSS score or KEV status is provided in the available data, suggesting no widespread active exploitation has been observed yet, but the availability of a GitHub security advisory and patch commit increases the likelihood of future exploit development.

Exploit ScenarioDerived

An attacker with local access to a system running vulnerable GMT versions could craft a malicious dataset file or command-line argument containing an excessively long string as the dataset identifier. When a user or automated process invokes the GMT 'which' module or another function that calls gmt_remote_dataset_id with this malicious input, the stack buffer overflows, potentially allowing the attacker to execute arbitrary code with the privileges of the GMT process or crash the application for denial of service. Given the low attack complexity (AC:L) and no user interaction requirement (UI:N), exploitation is straightforward once an attacker can provide input to GMT tools.

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 – Mar 20, 2026

Stack-based buffer overflow in GMT versions 6.6.0 and earlier allows local attackers to crash the application or execute arbitrary code by supplying an excessively long dataset identifier to vulnerable functions like gmt_remote_dataset_id. The vulnerability affects command-line processing of geographic data and currently lacks a public patch, leaving all affected GMT installations exposed to local exploitation.

Earlier versions of this analysis (1)
v1 Mar 20, 2026 - 20:30 CVSS 7.3

A stack-based buffer overflow vulnerability exists in the GMT (Generic Mapping Tools) open source geospatial data manipulation toolkit, specifically in the gmt_remote_dataset_id function. Attackers can exploit this by providing a specially crafted long string as a dataset identifier (for example through the 'which' module), potentially leading to arbitrary code execution or denial of service. The vulnerability affects GMT versions from 6.6.0 and all prior versions, with a CVSS score of 7.3 indicating high severity primarily due to availability impact.

RemediationAI

Users should immediately upgrade to a patched version of GMT that includes commit 0ad2b491470df82c9ec1139dcbd70502fa28a082, which addresses the stack-based buffer overflow in the gmt_remote_dataset_id function. The patch details are available at https://github.com/GenericMappingTools/gmt/commit/0ad2b491470df82c9ec1139dcbd70502fa28a082 and the security advisory at https://github.com/GenericMappingTools/gmt/security/advisories/GHSA-fqxx-62x7-9gwg. Until patching is completed, organizations should implement defense-in-depth measures such as restricting the processing of untrusted or external datasets, running GMT tools with minimal privileges in sandboxed environments, and validating dataset identifiers before passing them to GMT functions. Input validation should specifically check for excessively long strings in dataset identifiers to prevent buffer overflow conditions.

Affected VersionsENISA

gmt ≤ 6.6.0

Affected Packages

euvd gmt no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GMT (Generic Mapping Tools) is an open source collection of command-line utilities for processing geographic and Cartesian datasets, widely used in geoscience research and mapping applications. The vulnerability is classified under CWE-121 (Stack-based Buffer Overflow) and resides in the gmt_remote_dataset_id function within src/gmt_remote.c. This function improperly handles user-supplied dataset identifiers without adequate bounds checking, allowing an overly long string to overflow the stack buffer. The affected product is identified via CPE as cpe:2.3:a:genericmappingtools:gmt:*:*:*:*:*:*:*:*, indicating the core GMT application. Stack-based buffer overflows are particularly dangerous as they can overwrite return addresses and function pointers, enabling attackers to redirect program execution flow.

Know when Gmt 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

GitHub Advisory PRIMARY 7.3 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

DescriptionGitHub Advisory

GMT is an open source collection of command-line tools for manipulating geographic and Cartesian data sets. In versions from 6.6.0 and prior, a stack-based buffer overflow vulnerability was identified in the gmt_remote_dataset_id function within src/gmt_remote.c. This issue occurs when a specially crafted long string is passed as a dataset identifier (e.g., via the which module), leading to a crash or potential arbitrary code execution. This issue has been patched via commit 0ad2b49.

Executive ViewAI

Why It Matters

A critical vulnerability in GMT (Generic Mapping Tools) version 6.6.0 and earlier allows remote attackers to execute arbitrary code or cause service disruptions through specially crafted dataset identifiers. Organizations using GMT for geospatial data processing face operational disruption and potential data compromise until remediation is implemented.

Business Impact: High
Compensating Controls

Implement network segmentation to limit GMT tool access to trusted users and systems only; disable or restrict the GMT 'which' module if business operations permit; enforce strict input validation and length restrictions on dataset identifier parameters at the application layer; monitor GMT process execution for anomalous behavior; consider running GMT in isolated containerized environments with restricted resource limits; maintain current offline backups of critical geospatial datasets; establish a vendor contact protocol to track GMT patch availability.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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