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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| GenericMappingTools | gmt | <= 6.6.0 |
References
- https://github.com/GenericMappingTools/gmt/commit/0ad2b491470df82c9ec1139dcbd70502fa28a082Patch
- https://github.com/GenericMappingTools/gmt/security/advisories/GHSA-fqxx-62x7-9gwgExploit, Vendor Advisory
- https://github.com/GenericMappingTools/gmt/security/advisories/GHSA-fqxx-62x7-9gwgExploit, Vendor Advisory
Timeline
- Published
- Mar 20, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed