CVE-2026-52757

Source
https://cve.org/CVERecord?id=CVE-2026-52757
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52757.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-52757
Aliases
  • GHSA-8jqp-qv73-395r
Published
2026-06-10T12:42:01.080Z
Modified
2026-07-08T08:14:02.738177804Z
Severity
  • 4.6 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52757.json",
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-416"
    ]
}
References

Affected packages

Git / github.com/nationalsecurityagency/ghidra

Affected ranges

Type
GIT
Repo
https://github.com/nationalsecurityagency/ghidra
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "cpe": "cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "12.1"
        }
    ]
}

Affected versions

Ghidra_10.*
Ghidra_10.3_build
Ghidra_9.*
Ghidra_9.0.1_build

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52757.json"