Ghidra < 12.1 - SQL Injection via Unescaped Filter Values in BSim Search
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NationalSecurityAgency | ghidra | 11.0 to before 12.1 | 12.1 | Patch available | CNA |
- ghidra VendorNationalSecurityAgency Affected 11.0 to before 12.1 Fixed in 12.1 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* | 11.0 to before 12.1 | Vulnerable | NationalSecurityAgency |
- cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* Versions 11.0 to before 12.1 Vulnerable ·NationalSecurityAgency
Remediation
- Fix · CNA ghidra (nationalsecurityagency) Fixed in 12.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
nationalsecurityagency ghidra 12.1
9 records Highest priority Priority HIGH 1 HIGH, 4 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-36646 Ghidra < 12.1 - Heap-Use-After-Free in SleighBuilder::generatePointerAdd via Vector ReallocationPriority MEDIUM 64
- TI-2026-36645 Ghidra 10.2 < 12.1 - Denial of Service via Circular Reference in Mach-O Export Trie ParserPriority MEDIUM 63
- TI-2026-37875 Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilationPriority MEDIUM 54
Timeline
- 2026-10-02 Threatist record created from CVE-2026-52758
References
More NationalSecurityAgency Ghidra vulnerabilities
- TI-2023-08846 Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes… CVSS 3.1CRITICAL 9.8
- TI-2026-04310 NSA Ghidra Auto-Analysis Annotation Command Execution CVSS 3.1HIGH 8.8
- TI-2026-37873 Ghidra < 12.0.4 - Path Traversal via Zip Slip in Theme Import CVSS 4.0HIGH 8.4
- TI-2026-37870 Ghidra < 12.0.2 - Path Traversal in Extension Installer via ZIP Entry Names CVSS 4.0HIGH 8.4
- TI-2026-36646 Ghidra < 12.1 - Heap-Use-After-Free in SleighBuilder::generatePointerAdd via Vector Reallocation CVSS 4.0MEDIUM 6.9
- TI-2026-37877 Ghidra < 12.1.1 - Denial of Service via Uncontrolled Memory Allocation in Mach-O Parser CVSS 4.0MEDIUM 6.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences