{"id":"CVE-2026-116012","state":"PUBLISHED","title":"Ghidra before 12.2 Integer Truncation in PackedDecode::skipAttribute Decompiler Parser","description":"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.","publishedAt":"2026-10-24T11:40:30.825Z","updatedAt":"2026-10-24T11:40:30.825Z","severity":{"score":2,"label":"Low","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["NationalSecurityAgency ghidra"],"affected":[{"vendor":"NationalSecurityAgency","product":"ghidra","packageURL":"pkg:github/nationalsecurityagency/ghidra","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"12.2","versionType":"custom"}],"repo":"https://github.com/NationalSecurityAgency/ghidra"}],"references":["https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-v423-5vh7-c7jw","https://github.com/NationalSecurityAgency/ghidra/commit/d105789b331dba84ad73ab92db890e38fe665be0","https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_12.2_build","https://github.com/NationalSecurityAgency/ghidra/blob/Ghidra_12.1.4_build/Ghidra/Features/Decompiler/src/decompile/cpp/marshal.cc#L641-L671","https://www.vulncheck.com/advisories/ghidra-before-12.2-integer-truncation-in-packeddecode-skipattribute-decompiler-parser"],"weaknesses":["CWE-197"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/116xxx/CVE-2026-116012.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-116012","state":"PUBLISHED","datePublished":"2026-10-24T11:40:30.825Z","dateUpdated":"2026-10-24T11:40:30.825Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-24T11:23:54.560Z"},"containers":{"cna":{"title":"Ghidra before 12.2 Integer Truncation in PackedDecode::skipAttribute Decompiler Parser","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"NationalSecurityAgency","product":"ghidra","packageURL":"pkg:github/nationalsecurityagency/ghidra","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"12.2","versionType":"custom"}],"repo":"https://github.com/NationalSecurityAgency/ghidra"}],"references":[{"url":"https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-v423-5vh7-c7jw","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-v423-5vh7-c7jw)"},{"url":"https://github.com/NationalSecurityAgency/ghidra/commit/d105789b331dba84ad73ab92db890e38fe665be0","tags":["patch"]},{"url":"https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_12.2_build","tags":["release-notes"],"name":"ghidra Ghidra_12.2_build Release Notes"},{"url":"https://github.com/NationalSecurityAgency/ghidra/blob/Ghidra_12.1.4_build/Ghidra/Features/Decompiler/src/decompile/cpp/marshal.cc#L641-L671","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/ghidra-before-12.2-integer-truncation-in-packeddecode-skipattribute-decompiler-parser","name":"VulnCheck Advisory: Ghidra before 12.2 Integer Truncation in PackedDecode::skipAttribute Decompiler Parser","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":2,"baseSeverity":"LOW"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":3.6,"baseSeverity":"LOW"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-197","lang":"en","description":"Numeric Truncation Error","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-24T11:40:30.825Z"},"datePublic":"2026-09-24T15:13:38.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*","versionEndExcluding":"12.2"}]}]}],"credits":[{"lang":"en","value":"dread (d7ead)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}