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. It occurs in the SleighBuilder::generatePointerAdd function due to iterator invalidation caused by reallocation of the issued vector in PcodeCacher::allocateInstruction. This memory corruption vulnerability can be exploited by processing malicious binaries through the public Sleigh::oneInstruction C++ API, affecting downstream consumers of the SLEIGH library. The vulnerability has a CVSS 4.0 base score of 6.9, indicating medium severity. There is no vendor advisory or patch information available at this time.
Potential Impact
Successful exploitation can lead to memory corruption when decompiling malicious binaries, which may cause crashes or potentially allow further exploitation depending on the context. The vulnerability affects local attack vectors with low complexity and requires user interaction. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when decompiling untrusted binaries using the Sleigh::oneInstruction API and consider restricting usage to trusted inputs only.
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
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. It occurs in the SleighBuilder::generatePointerAdd function due to iterator invalidation caused by reallocation of the issued vector in PcodeCacher::allocateInstruction. This memory corruption vulnerability can be exploited by processing malicious binaries through the public Sleigh::oneInstruction C++ API, affecting downstream consumers of the SLEIGH library. The vulnerability has a CVSS 4.0 base score of 6.9, indicating medium severity. There is no vendor advisory or patch information available at this time.
Potential Impact
Successful exploitation can lead to memory corruption when decompiling malicious binaries, which may cause crashes or potentially allow further exploitation depending on the context. The vulnerability affects local attack vectors with low complexity and requires user interaction. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when decompiling untrusted binaries using the Sleigh::oneInstruction API and consider restricting usage to trusted inputs only.
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: 6/10/2026, 1:33:34 PM
Last enriched: 6/10/2026, 1:50:25 PM
Last updated: 6/10/2026, 2:59:36 PM
Views: 5
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.