Skip to main content
VulnerabilityPublished Updated

CVE-2026-33147: GenericMappingTools gmt · Stack-based Buffer Overflow

Affects GenericMappingTools gmtSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.3 High.

Data as of 31 Oct 2026, 08:20 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GenericMappingToolsgmtAffected
  • <=6.6.0
Fixed in–
GitHubgenericmappingtools/gmtpkg:github/genericmappingtools/gmtOther threatsAffected
  • <=6.6.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately upgrade GMT installations to versions later than 6.6.0 where the vulnerability is patched.
  2. Audit all systems to identify where GMT is installed and used, including automated scripts and pipelines that may invoke GMT commands.
  3. Restrict local access to systems running GMT to trusted users only, minimizing the risk of exploitation by unauthorized personnel.
  4. Employ application whitelisting and runtime protections such as stack canaries and address space layout randomization (ASLR) to reduce the risk of successful exploitation.
  5. Monitor system logs and application behavior for unusual crashes or anomalies that could indicate attempted exploitation.
  6. For environments where immediate patching is not feasible, consider isolating GMT usage in sandboxed or containerized environments to limit potential damage.
  7. Educate system administrators and users about the risks and ensure secure handling of dataset identifiers to avoid passing untrusted input to GMT commands.

Description

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.

References

Community reviews

Loading reviews…