{
  "id": "CVE-2026-18718",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-18718",
  "published_at": "2026-08-03T16:54:17.653Z",
  "title": "Ghidra Swift Demangler Analyzer Arbitrary Code Execution via Project State",
  "vendor": "National Security Agency",
  "product": "Ghidra",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Ghidra contains an arbitrary code execution vulnerability in the Swift demangler analyzer that allows an attacker to execute arbitrary binaries by supplying a malicious Ghidra project with a crafted Swift tool directory path. When a victim opens the attacker-supplied project, SwiftDemanglerAnalyzer restores the persisted Swift binary directory from project state and SwiftNativeDemangler executes the resolved binary without integrity or signature verification, causing attacker-controlled executables to run under the Ghidra process user with no prompt or confirmation.",
  "cwe": "CWE-427",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [
    {
      "repo": "sn0x-sharma/CVE-2026-18718",
      "url": "https://github.com/sn0x-sharma/CVE-2026-18718",
      "created_at": "2026-08-03T22:57:28Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-05-03T16:11:11Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "National Security Agency",
        "product": "Ghidra",
        "ranges": [
          "\u003c 12.1.2"
        ],
        "fixed_in": [
          "12.1.2",
          "12.1.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Ghidra to 12.1.2 or 12.1.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-pcfh-853f-q3gh"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/NationalSecurityAgency/ghidra/commit/c03a70d"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
