# CVE-2026-33147: GMT: Stack-based Buffer Overflow in gmt_remote_dataset_id

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-20T20:10:28.066Z
- Modified: 2026-06-17T10:37:01.670Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- GenericMappingTools gmt: <= 6.6.0
- generic-mapping-tools gmt: up to 6.6.0

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/GenericMappingTools/gmt/security/advisories/GHSA-fqxx-62x7-9gwg> (exploit, vendor-advisory)
- <https://github.com/GenericMappingTools/gmt/commit/0ad2b491470df82c9ec1139dcbd70502fa28a082> (patch)

## Sources

- CVE List: [CVE-2026-33147](https://www.cve.org/CVERecord?id=CVE-2026-33147), CVE Terms of Use, modified 2026-03-25
- NVD: [CVE-2026-33147](https://nvd.nist.gov/vuln/detail/CVE-2026-33147), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33147 · Whole record: https://cve.day/CVE-2026-33147.json · Rebuilt by cve.day 2026-11-25T22:59:16.341Z
