Buffer overflow in Generic-Mapping-Tools Gmt
CVE-2026-33147
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.
Vulnerability class: Buffer Overflow
EPSS: 0.002 (8.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H.
Affected products
- Generic-mapping-tools Gmt
- Genericmappingtools Gmt — versions <= 6.6.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-33147?
- CVE-2026-33147 is a high-severity vulnerability in Generic-Mapping-Tools Gmt, classified under Stack-based Buffer Overflow. CVSS score: 7.3/10. Published 2026-03-20.
- How severe is CVE-2026-33147?
- High severity. CVSS v3 base score is 7.3 out of 10.
- Is CVE-2026-33147 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.