Home

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.

PUBLISHED Reserved 2026-05-31 | Published 2026-06-10 | Updated 2026-06-10 | Assigner VulnCheck




MEDIUM: 6.9CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

MEDIUM: 6.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Problem types

Use After Free

Product status

Default status
unaffected

Any version before 12.1
affected

12.1 (custom)
unaffected

Credits

Stefano Bonicatti (@Smjert) reporter

References

github.com/...ghidra/security/advisories/GHSA-gqh9-2c72-wpjc exploit

github.com/...ghidra/security/advisories/GHSA-gqh9-2c72-wpjc (GitHub Security Advisory (GHSA-gqh9-2c72-wpjc)) vendor-advisory

github.com/...ommit/8a3018d5efcb07d2ec40bacdd6063cb6f01c8edf (Patch Commit) patch

www.vulncheck.com/...eratepointeradd-via-vector-reallocation third-party-advisory

cve.org (CVE-2026-49496)

nvd.nist.gov (CVE-2026-49496)

Download JSON