CVE-2026-49496: Use After Free in nationalsecurityagency ghidra
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.
AI Analysis
Technical Summary
CVE-2026-49496 is a heap-use-after-free vulnerability in Ghidra before version 12.1, specifically in the SleighBuilder::generatePointerAdd function. The root cause is iterator invalidation caused by the reallocation of the issued vector in PcodeCacher::allocateInstruction. This can lead to memory corruption when malicious binaries are decompiled using the public Sleigh::oneInstruction C++ API, affecting downstream consumers of the SLEIGH library. The vulnerability has not been reported as exploited in the wild and no official remediation or patch is currently documented.
Potential Impact
Successful exploitation can cause memory corruption, potentially leading to application crashes or undefined behavior when processing malicious binaries. The vulnerability requires local access with user interaction (decompiling a crafted binary) and does not allow privilege escalation or network-based exploitation. The impact is rated medium with a CVSS score of 6.9.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should exercise caution when decompiling untrusted binaries and consider limiting access to the vulnerable API. Monitor official National Security Agency or Ghidra project advisories for updates on patches or mitigations.
CVE-2026-49496: Use After Free in nationalsecurityagency ghidra
Description
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.
CVSS v4.0
Score 6.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-49496 is a heap-use-after-free vulnerability in Ghidra before version 12.1, specifically in the SleighBuilder::generatePointerAdd function. The root cause is iterator invalidation caused by the reallocation of the issued vector in PcodeCacher::allocateInstruction. This can lead to memory corruption when malicious binaries are decompiled using the public Sleigh::oneInstruction C++ API, affecting downstream consumers of the SLEIGH library. The vulnerability has not been reported as exploited in the wild and no official remediation or patch is currently documented.
Potential Impact
Successful exploitation can cause memory corruption, potentially leading to application crashes or undefined behavior when processing malicious binaries. The vulnerability requires local access with user interaction (decompiling a crafted binary) and does not allow privilege escalation or network-based exploitation. The impact is rated medium with a CVSS score of 6.9.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should exercise caution when decompiling untrusted binaries and consider limiting access to the vulnerable API. Monitor official National Security Agency or Ghidra project advisories for updates on patches or mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-31T11:54:34.993Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2967aec9170919df1fd46e
Added to database: 06/10/2026, 13:33:34 UTC
Last enriched: 07/15/2026, 10:07:49 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 111
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.