Double Free Vulnerability in Nothings stb Multi-frame GIF File Handler
CVE-2026-5186
4.8MEDIUM
What is CVE-2026-5186?
A vulnerability has been discovered in Nothings stb, particularly within the Multi-frame GIF File Handler implemented in stb_image.h. This flaw stems from an improper handling of memory that can lead to a double free condition during the execution of the function stbi__load_gif_main. Exploiting this vulnerability necessitates local access and could potentially be leveraged for attacks, given that proof-of-concept exploit code has already been made publicly available. Despite early notification to the vendor regarding this issue, no response has been received.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
stb 2.0
stb 2.1
stb 2.2
