{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33147 exists.","fix":"No fix has been published for CVE-2026-33147 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-33147 is a high-severity memory corruption vulnerability in GenericMappingTools gmt, published on 20 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-33147 and fix it if it is affected.\n\nWhat it is: CVE-2026-33147 is a high-severity memory corruption vulnerability in GenericMappingTools gmt, published on 20 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33147 exists.\n\nAffected product: GenericMappingTools gmt. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-33147/ (Markdown: https://insights.sbomify.com/CVE-2026-33147/index.md)","id":"CVE-2026-33147","markdown":"https://insights.sbomify.com/CVE-2026-33147/index.md","name":"CVE-2026-33147","record":{"aliases":["GHSA-fqxx-62x7-9gwg"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GMT geospatial library","requires_auth":"none","summary":"A stack-based buffer overflow in GMT allows attackers to cause crashes or execute arbitrary code via crafted dataset identifiers.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"gmt","vendor":"generic-mapping-tools"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-04-03","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-03T05:04:08Z","kind":"github_poc","ref":"https://github.com/redyank/CVE-2026-33147","stars":0,"title":"CVE-2026-33147(Stack-based Buffer Overflow in gmt_remote_dataset_id)"}],"tier":"weaponised"},"has_fix":false,"headline":"GMT: Stack-based Buffer Overflow in gmt_remote_dataset_id","id":"CVE-2026-33147","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"URL Parameter Injection in FDC Food Search API Causes Server Crash and Exposes Internal API Key","id":"CVE-2026-33148"},"packages":[],"prev":{"headline":"Docmost's Public Share Search Exposes Metadata of Restricted Children","id":"CVE-2026-33146"},"products":["gmt"],"published":"2026-03-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-25","vendors":["GenericMappingTools"]},"summary":"A stack-based buffer overflow in GMT allows attackers to cause crashes or execute arbitrary code via crafted dataset identifiers.","url":"https://insights.sbomify.com/CVE-2026-33147/"}