CVE-2026-52757
published medium CVSS 4.0 · 4.6Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nationalsecurityagency | — | ghidra0 to < 12.1 (affected · custom) · 12.1 (unaffected · custom) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
Ghidra before 12.1 contains a heap-use-after-free vulnerability in the decompiler's HighVariable::merge() function during the variable merging pass. Attackers can trigger this vulnerability by crafting a binary that causes stale pointers in the HighIntersectTest::highedgemap cache to be dereferenced, reading and writing the flags field of freed heap memory when a user opens the binary in Ghidra's decompiler view.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.4 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nationalsecurityagency | ghidra | 0 to < 12.1 (affected · custom)12.1 (unaffected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-416 Use After Free
References
2- GitHub Security Advisory (GHSA-8jqp-qv73-395r) https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r
- https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-highvariable-merge-during-decompilation
Provider assertions
2VulnCheck · cna
Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b7fe6a09c92df15edfa0d04ab7c2374bc7c66058e1d68a77e00eed696aab2cab
- Ingested
- 23 Sep 2026, 09:19:17 UTC
- Source record
- Official CVE record