CVE-2026-5185: Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow

Published Mar 31, 2026
·
Updated

A security flaw has been discovered in Nothings stbimage up to 2.30. This affects the function stbigifloadnext of the file stbimage.h of the component Multi-frame GIF File Handler. The manipulation results in heap-based buffer overflow. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Affected Software

1 affected component
Nothings stb_image<=2.30

Event History

Mar 31, 2026
CVE Published
via MITRE·06:45 AM
Data Sourced
via MITRE·06:45 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness
Feb 13, 58282
Event
via FIRST·07:29 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-5185?

CVE-2026-5185 is classified with a high severity due to the potential for heap-based overflow vulnerabilities.

2

How do I fix CVE-2026-5185?

To fix CVE-2026-5185, update Nothings stb_image to version 2.31 or later.

3

What versions of Nothings stb_image are affected by CVE-2026-5185?

Nothings stb_image versions up to and including 2.30 are affected by CVE-2026-5185.

4

What is the impact of CVE-2026-5185?

CVE-2026-5185 may allow attackers to exploit the heap-based overflow to execute arbitrary code.

5

Where can I find more information about CVE-2026-5185?

Detailed information about CVE-2026-5185 can typically be found in security advisories and vulnerability databases.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203