CVE-2024-58350
Analyzed Analyzed - Analysis Complete

Use After Free in Ghidra Sleigh Backend

Vulnerability report for CVE-2024-58350, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-10

Last updated on: 2026-06-11

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-10
Last Modified
2026-06-11
Generated
2026-06-30
AI Q&A
2026-06-10
EPSS Evaluated
2026-06-29
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
nsa ghidra to 11.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-758 The product uses an API function, data structure, or other entity in a way that relies on properties that are not always guaranteed to hold for that entity.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2024-58350 is a use-after-free vulnerability in Ghidra versions before 11.2, specifically in the Sleigh backend. It is caused by the undefined static initialization and destruction order of two global singletons: SleighArchitecture::translators and XmlArchitectureCapability. This unsafe destruction order can lead to the program iterating over memory that has already been deallocated during shutdown.

Exploiting this vulnerability can cause an infinite loop or denial of service during the shutdown process of Ghidra.

Impact Analysis

The impact of this vulnerability is relatively low. An attacker can cause Ghidra to enter an infinite loop or experience a denial of service during shutdown by exploiting the unsafe destruction order that leads to use-after-free.

There is minimal impact on confidentiality, integrity, or availability of the system running Ghidra, as the vulnerability mainly affects the shutdown process and does not allow for code execution or data compromise.

Mitigation Strategies

The vulnerability in Ghidra before version 11.2 is caused by a use-after-free issue in the Sleigh backend due to undefined static initialization order.

To mitigate this vulnerability, you should upgrade Ghidra to version 11.2 or later, where the issue has been fixed.

The fix is available in the official pull request #6890.

Compliance Impact

The provided information does not specify any direct impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2024-58350. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart