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 gmtremotedatasetid function within src/gmtremote.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.
{
"cwe_ids": [
"CWE-121"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33147.json",
"cna_assigner": "GitHub_M"
}{
"cpe": "cpe:2.3:a:generic-mapping-tools:gmt:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "6.6.0"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}[
{
"source": "https://github.com/genericmappingtools/gmt/commit/0ad2b491470df82c9ec1139dcbd70502fa28a082",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"78831803149862755178795290406178353474",
"226952572826063176356460768541535710420",
"285649247365509074032713789771804785522",
"122044534019814078175181980389798146891",
"333750899958170521090301523058479766476"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2026-33147-5f9c3b19",
"target": {
"file": "src/gmt_remote.c"
}
},
{
"source": "https://github.com/genericmappingtools/gmt/commit/0ad2b491470df82c9ec1139dcbd70502fa28a082",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "314752282441009000148145094609552896716",
"length": 1072.0
},
"deprecated": false,
"id": "CVE-2026-33147-b19f3082",
"target": {
"function": "gmt_remote_dataset_id",
"file": "src/gmt_remote.c"
}
}
]
"2026-07-15T15:53:47Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33147.json"