CVE-2026-33147
GMT: Stack-based Buffer Overflow in gmt_remote_dataset_id
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.
INFO
Published Date :
March 20, 2026, 9:17 p.m.
Last Modified :
March 27, 2026, 9:07 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update GMT to a version that includes commit 0ad2b49.
- Avoid passing crafted long strings as dataset identifiers.
Public PoC/Exploit Available at Github
CVE-2026-33147 has a 3 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-33147.
| URL | Resource |
|---|---|
| https://github.com/GenericMappingTools/gmt/commit/0ad2b491470df82c9ec1139dcbd70502fa28a082 | Patch |
| https://github.com/GenericMappingTools/gmt/security/advisories/GHSA-fqxx-62x7-9gwg | Exploit Vendor Advisory |
| https://github.com/GenericMappingTools/gmt/security/advisories/GHSA-fqxx-62x7-9gwg | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-33147 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-33147
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
CVE-2026-33147(Stack-based Buffer Overflow in gmt_remote_dataset_id)
None
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-33147 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-33147 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:generic-mapping-tools:gmt:*:*:*:*:*:*:*:* versions up to (including) 6.6.0 Added Reference Type GitHub, Inc.: https://github.com/GenericMappingTools/gmt/commit/0ad2b491470df82c9ec1139dcbd70502fa28a082 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/GenericMappingTools/gmt/security/advisories/GHSA-fqxx-62x7-9gwg Types: Exploit, Vendor Advisory Added Reference Type CISA-ADP: https://github.com/GenericMappingTools/gmt/security/advisories/GHSA-fqxx-62x7-9gwg Types: Exploit, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Mar. 25, 2026
Action Type Old Value New Value Added Reference https://github.com/GenericMappingTools/gmt/security/advisories/GHSA-fqxx-62x7-9gwg -
New CVE Received by [email protected]
Mar. 20, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H Added CWE CWE-121 Added Reference https://github.com/GenericMappingTools/gmt/commit/0ad2b491470df82c9ec1139dcbd70502fa28a082 Added Reference https://github.com/GenericMappingTools/gmt/security/advisories/GHSA-fqxx-62x7-9gwg