{"id":"CVE-2026-100504","aliases":["CVE-2026-100504"],"related":[],"kind":"vulnerability","state":"published","title":"Ghidra through 12.1.4 Stack-based Buffer Overflow via leftshift128","summary":"Ghidra versions through 12.1.4 contain a stack-based out-of-bounds write vulnerability in the decompiler's leftshift128 function when processing negative shift amounts from p-code. Attackers can craft malicious binaries with specific instruction sequences that trigger the overflow when decompiled, corrupting memory and potentially achieving code execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Ghidra versions through 12.1.4 contain a stack-based out-of-bounds write vulnerability in the decompiler's leftshift128 function when processing negative shift amounts from p-code. Attackers can craft malicious binaries with specific instruction sequences that trigger the overflow when decompiled, corrupting memory and potentially achieving code execution.","source":"cvelist"}],"published":"2026-09-26T00:36:32.604Z","modified":"2026-10-22T09:48:43.541Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"12.1.4","status":"affected"}],"vendor":"NationalSecurityAgency","product":"ghidra","repo":"https://github.com/NationalSecurityAgency/ghidra","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"12.1.4"}],"vendor":"nsa","product":"ghidra","cpe":"cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/NationalSecurityAgency/ghidra/commit/6babe3c1cec7f5ec920dd16cdc86a02893e5b33c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NationalSecurityAgency/ghidra","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178c2e9fbc/Ghidra/Features/Decompiler/src/decompile/cpp/multiprecision.cc#L29-L61","tags":["product","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NationalSecurityAgency/ghidra/blob/8b6bbb857accdfa20dc5b2f5dea471178c2e9fbc/Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc#L7848-L7878","tags":["patch","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/ghidra-through-12.1.4-stack-based-buffer-overflow-via-leftshift128","tags":["patch","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["0xfe4415"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-28T17:40:22.713Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100504","url":"https://www.cve.org/CVERecord?id=CVE-2026-100504","licence":"CVE Terms of Use","modified":"2026-10-22T09:48:43.541Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100504","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100504","licence":"Public domain","modified":"2026-10-08T16:30:04.767Z"}],"updatedAt":"2026-11-25T22:59:41.166Z","epss":{"score":0.00231,"percentile":0.08379,"date":"2026-11-30T12:00:22.000Z"}}