CVE-2026-33147

GMT: Stack-based Buffer Overflow in gmt_remote_dataset_id

State
Published
Severity
7.3 High
Published
Mar 20, 2026
Updated
Mar 25, 2026
Reserved
Mar 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HGitHub_M

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

Affected Products

ProductVersions
gmtGenericMappingTools
  • <= 6.6.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.