CVE-2024-58350 Ghidra < 11.2 - Use After Free in Sleigh Backend via Static Initialization Order

Low 2.1 Published Updated

Attackers can cause a denial of service in Ghidra by triggering an infinite loop during shutdown due to unsafe memory destruction order.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-58350?

CVE-2024-58350 is a low-severity use after free vulnerability in nationalsecurityagency ghidra, published on 10 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Ghidra before 11.2 contains a use after free vulnerability in the Sleigh backend caused by undefined static initialization order of the SleighArchitecture::translators and XmlArchitectureCapability singletons. Attackers can trigger an infinite loop or denial of service during shutdown by exploiting the unsafe destruction order that causes iteration over deallocated memory.

Weakness: CWE-758

Which versions are affected by CVE-2024-58350?

It affects 1 product.

Products include Nsa Ghidra.

How do I fix CVE-2024-58350?

No fix has been published for CVE-2024-58350 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-58350 being exploited?

There is no known exploitation of CVE-2024-58350 in the wild and no public exploit code.

Sources

Also known as GHSA-4g43-2f29-xvp4.

Is CVE-2024-58350 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free