CVE-2026-33147 PUBLISHED

GMT: Stack-based Buffer Overflow in gmt_remote_dataset_id

Assigner: GitHub_M
Reserved: 17.03.2026 Published: 20.03.2026 Updated: 20.03.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
CVSS Score: 7.3

Product Status

Vendor GenericMappingTools
Product gmt
Versions
  • Version <= 6.6.0 is affected

References

Problem Types

  • CWE-121: Stack-based Buffer Overflow CWE