Nsa Ghidra
Don't miss out!
Thousands of developers use stack.watch to stay informed.Get an email whenever new security vulnerabilities are reported in Nsa Ghidra.
By the Year
In 2026 there have been 16 vulnerabilities in Nsa Ghidra with an average score of 6.6 out of ten. Ghidra did not have any published security vulnerabilities last year. That is, 16 more vulnerabilities have already been reported in 2026 as compared to last year.
| Year | Vulnerabilities | Average Score |
|---|---|---|
| 2026 | 16 | 6.59 |
| 2025 | 0 | 0.00 |
| 2024 | 0 | 0.00 |
| 2023 | 1 | 9.80 |
| 2022 | 0 | 0.00 |
| 2021 | 0 | 0.00 |
| 2020 | 0 | 0.00 |
| 2019 | 5 | 0.00 |
It may take a day or so for new Ghidra vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.
Recent Nsa Ghidra Security Vulnerabilities
Uncontrolled Mem Alloc Ncmds DoS in Ghidra <12.1.1 Mach-O Parser
CVE-2026-52759
5.5 - Medium
- June 10, 2026
Ghidra before 12.1.1 contains an uncontrolled memory allocation vulnerability in the Mach-O binary parser that allows attackers to cause denial of service. An attacker can supply a crafted Mach-O binary with an arbitrarily large ncmds load command count value, forcing the parser to allocate excessive heap memory without validating file size, crashing the Ghidra JVM.
Stack Exhaustion
Ghidra <12.1 SQL Injection in BSim Filter Types
CVE-2026-52758
8.8 - High
- June 10, 2026
Ghidra before 12.1 contains a SQL injection vulnerability in BSim filter types that concatenate user-supplied values directly into SQL queries without escaping or parameterization. Remote attackers can inject arbitrary SQL via the BSim network query protocol to read, modify, or delete data in the PostgreSQL database.
SQL Injection
Ghidra12.0 HAUF via HighVariable::merge() in crafted binary
CVE-2026-52757
4.4 - Medium
- June 10, 2026
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.
Dangling pointer
Ghidra 12.1: UNAUTH Path Traversal in IsfServer via Port 54321
CVE-2026-52756
4.8 - Medium
- June 10, 2026
Ghidra before 12.2 contains an unauthenticated path traversal vulnerability in the IsfServer that accepts TCP connections and passes client-supplied namespace strings directly to filesystem operations without validation. Remote attackers can connect to port 54321 and send crafted protobuf messages with traversal sequences to enumerate filesystem paths and probe arbitrary files.
Directory traversal
Ghidra <12.0.4 - Theme Import Path Traverse Enables File Write
CVE-2026-52755
7.8 - High
- June 10, 2026
Ghidra before 12.0.4 contains a path traversal vulnerability in the theme import functionality that allows attackers to write files outside the intended theme directory. Attackers can craft malicious theme ZIP files with traversal sequences in filenames to execute arbitrary code or modify sensitive files like .bashrc or .ssh/authorized_keys.
Directory traversal
Ghidra <12.1: PKIAuth Auth Bypass via Null Signature
CVE-2026-52754
8.8 - High
- June 10, 2026
Ghidra before 12.1 contains an authentication bypass vulnerability in PKIAuthenticationModule.authenticate() that allows any user with a valid CA-signed certificate to impersonate other users by presenting their public certificate with a null signature. Attackers can escalate privileges, modify repository access controls, exfiltrate shared reverse engineering databases, and permanently compromise server integrity.
Improper Verification of Cryptographic Signature
Ghidra <12.0.3 OOM via rust_demangle Unbounded Buffer
CVE-2026-52753
5.5 - Medium
- June 10, 2026
Ghidra before 12.0.3 contains an out-of-memory vulnerability in the rust_demangle function that allocates unbounded output buffers without size limits. Attackers can craft malicious Rust symbol names in binaries to trigger exponential memory allocation, causing process crashes during binary analysis.
Stack Exhaustion
Ghidra <12.0.2 Path Traversal via Extension Installer
CVE-2026-52752
7.8 - High
- June 10, 2026
Ghidra before 12.0.2 contains a path traversal vulnerability in the extension installer that fails to validate ZIP entry names during extraction. Attackers can craft malicious extensions with traversal sequences like ../ in filenames to write arbitrary files outside the intended directory, enabling code execution.
Directory traversal
Ghidra <=12.0 RMI Deserialization RCE via Malicious Project
CVE-2026-52751
8.8 - High
- June 10, 2026
Ghidra before 12.1 contains an unsafe deserialization vulnerability in client-side Shared-Project RMI connection code that allows unauthenticated remote code execution. Attackers can craft a malicious project file with a ghidra:// URL that, when opened via File Open Project, deserializes untrusted objects using a Jython 2.7.4 gadget chain to execute arbitrary commands.
Marshaling, Unmarshaling
Ghidra <12.1: URL Annotation Cmd Injection via cmd.exe
CVE-2026-52750
7.8 - High
- June 10, 2026
Ghidra before 12.1 contains a command injection vulnerability in URL annotation handling on Windows where cmd.exe metacharacters are not properly escaped. Attackers can execute arbitrary commands under the Ghidra user's privileges by embedding malicious URLs in program comments that victims click.
Argument Injection
Ghidra SQL Injection Vulnerability in PostgresFunctionDatabase (12.1)
CVE-2026-49498
8.8 - High
- June 10, 2026
Ghidra 11.0 before 12.1 contains a SQL injection vulnerability in the changePassword() method of PostgresFunctionDatabase that fails to escape double quotes in usernames interpolated into ALTER ROLE statements. Authenticated attackers can inject SQL commands via crafted username parameters in PasswordChange network messages to escalate to PostgreSQL superuser privileges and gain full database control.
SQL Injection
Ghidra <12.1 Path Traversal in SameDirDebugInfoProvider via .gnu_debuglink
CVE-2026-49497
3.3 - Low
- June 10, 2026
Ghidra before 12.1 contains a path traversal vulnerability in SameDirDebugInfoProvider that fails to validate filenames from ELF binary .gnu_debuglink sections before constructing file paths. Attackers can craft malicious ELF binaries with traversal sequences to probe filesystem existence and leak CRC32 hashes of arbitrary files during automatic DWARF analysis.
Directory traversal
Ghidra <=12.0 heap-use-after-free in SleighBuilder::generatePointerAdd
CVE-2026-49496
6.1 - Medium
- June 10, 2026
Ghidra before 12.1 contains a heap-use-after-free vulnerability in SleighBuilder::generatePointerAdd caused by iterator invalidation when PcodeCacher::allocateInstruction reallocates the issued vector. Attackers can trigger memory corruption by decompiling malicious binaries through the public Sleigh::oneInstruction C++ API, affecting downstream SLEIGH library consumers.
Dangling pointer
Ghidra 10.2<12.1: Uncontrolled Resource in ExportTrie.parseTrie Causing OOM
CVE-2026-49495
5.5 - Medium
- June 10, 2026
Ghidra 10.2 before 12.1 contains an uncontrolled resource consumption vulnerability in ExportTrie.parseTrie() that lacks cycle detection when traversing Mach-O binary export tries. A crafted Mach-O binary with circular references in the export trie causes unbounded queue growth and exponential string concatenation, triggering OutOfMemoryError that crashes the entire JVM and loses all unsaved work.
Infinite Loop
Ghidra <11.2 UAF in Sleigh Backend
CVE-2024-58350
2.9 - Low
- June 10, 2026
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.
Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
Ghidra <12.0.3: @execute Annotation Enables Arbitrary UI Command Execution
CVE-2026-4946
8.8 - High
- March 29, 2026
Ghidra versions prior to 12.0.3 improperly process annotation directives embedded in automatically extracted binary data, resulting in arbitrary command execution when an analyst interacts with the UI. Specifically, the @execute annotation (which is intended for trusted, user-authored comments) is also parsed in comments generated during auto-analysis (such as CFStrings in Mach-O binaries). This allows a crafted binary to present seemingly benign clickable text which, when clicked, executes attacker-controlled commands on the analysts machine.
Shell injection
Ghidra <=10.2.2 command injection via launch.sh eval
CVE-2023-22671
9.8 - Critical
- January 06, 2023
Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading to command injection when calling analyzeHeadless with untrusted input.
Command Injection
NSA Ghidra before 9.0.2 is vulnerable to DLL hijacking
CVE-2019-17665
- October 16, 2019
NSA Ghidra before 9.0.2 is vulnerable to DLL hijacking because it loads jansi.dll from the current working directory.
NSA Ghidra through 9.0.4 uses a potentially untrusted search path
CVE-2019-17664
- October 16, 2019
NSA Ghidra through 9.0.4 uses a potentially untrusted search path. When executing Ghidra from a given path, the Java process working directory is set to this path. Then, when launching the Python interpreter via the "Ghidra Codebrowser > Window > Python" option, Ghidra will try to execute the cmd.exe program from this working directory.
NSA Ghidra through 9.0.4, when experimental mode is enabled
CVE-2019-16941
- September 28, 2019
NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files feature of Bit Patterns Explorer is used with a modified XML document. This occurs in Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java. An attack could start with an XML document that was originally created by DumpFunctionPatternInfoScript but then directly modified by an attacker (for example, to make a java.lang.Runtime.exec call).
In NSA Ghidra before 9.1, path traversal can occur in RestoreTask.java (from the package ghidra.app.plugin.core.archive) via an archive with an executable file
CVE-2019-13623
- July 17, 2019
In NSA Ghidra before 9.1, path traversal can occur in RestoreTask.java (from the package ghidra.app.plugin.core.archive) via an archive with an executable file that has an initial ../ in its filename. This allows attackers to overwrite arbitrary files in scenarios where an intermediate analysis result is archived for sharing with other persons. To achieve arbitrary code execution, one approach is to overwrite some critical Ghidra modules, e.g., the decompile module.
NSA Ghidra before 9.0.1
CVE-2019-13625
- July 17, 2019
NSA Ghidra before 9.0.1 allows XXE when a project is opened or restored, or a tool is imported, as demonstrated by a project.prp file.
Stay on top of Security Vulnerabilities
Want an email whenever new vulnerabilities are published for Nsa Ghidra or by Nsa? Click the Watch button to subscribe.