CVE-2026-33147

Source
https://cve.org/CVERecord?id=CVE-2026-33147
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33147.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-33147
Aliases
  • GHSA-fqxx-62x7-9gwg
Published
2026-03-20T20:10:28Z
Modified
2026-08-12T15:32:41Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H CVSS Calculator
Summary
GMT: Stack-based Buffer Overflow in gmt_remote_dataset_id
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-121"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33147.json"
}
References

Affected packages

Git / github.com/genericmappingtools/gmt

Affected ranges

Type
GIT
Repo
https://github.com/genericmappingtools/gmt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:generic-mapping-tools:gmt:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "6.6.0"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

4.*
4.5.18
6.*
6.1.0
6.2.0
6.2.0rc1
6.2.0rc2
6.3.0
6.4.0
6.5.0
6.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33147.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "78831803149862755178795290406178353474",
                "226952572826063176356460768541535710420",
                "285649247365509074032713789771804785522",
                "122044534019814078175181980389798146891",
                "333750899958170521090301523058479766476"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-33147-5f9c3b19",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/genericmappingtools/gmt/commit/0ad2b491470df82c9ec1139dcbd70502fa28a082",
        "target":  {
            "file":  "src/gmt_remote.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "314752282441009000148145094609552896716",
            "length":  1072
        },
        "id":  "CVE-2026-33147-b19f3082",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/genericmappingtools/gmt/commit/0ad2b491470df82c9ec1139dcbd70502fa28a082",
        "target":  {
            "file":  "src/gmt_remote.c",
            "function":  "gmt_remote_dataset_id"
        }
    }
]
vanir_signatures_modified
"2026-08-12T15:32:41Z"