{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "12.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "d105789b331dba84ad73ab92db890e38fe665be0"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "Ghidra_12.2_build",
                "range": [
                  {
                    "fixed": "8ca9077040cc43cd790babcfccf19475622a3e9a"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8ca9077040cc43cd790babcfccf19475622a3e9a"
            },
            {
              "fixed": "d105789b331dba84ad73ab92db890e38fe665be0"
            }
          ],
          "repo": "https://github.com/nationalsecurityagency/ghidra",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-v423-5vh7-c7jw"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-197"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116012.json"
  },
  "details": "Ghidra before 12.2 contains a numeric truncation vulnerability in PackedDecode::skipAttribute and skipAttributeRemaining in marshal.cc that stores 64-bit string lengths in 32-bit variables. Attackers can supply a crafted packed stream, such as a malicious .sla file, to inject attributes into the decompiler's input or crash the decompiler process.",
  "id": "CVE-2026-116012",
  "modified": "2026-11-07T02:31:06.309913176Z",
  "published": "2026-10-24T11:40:30.825Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116012.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_12.2_build"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-v423-5vh7-c7jw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116012"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ghidra-before-12.2-integer-truncation-in-packeddecode-skipattribute-decompiler-parser"
    },
    {
      "type": "FIX",
      "url": "https://github.com/NationalSecurityAgency/ghidra/commit/d105789b331dba84ad73ab92db890e38fe665be0"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/NationalSecurityAgency/ghidra"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/NationalSecurityAgency/ghidra/blob/Ghidra_12.1.4_build/Ghidra/Features/Decompiler/src/decompile/cpp/marshal.cc#L641-L671"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Ghidra before 12.2 Integer Truncation in PackedDecode::skipAttribute Decompiler Parser"
}