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:28.066Z
Modified
2026-07-15T15:53:47.029003Z
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 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.

Database specific
{
    "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"
}
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
{
    "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

vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-07-15T15:53:47Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33147.json"