A weakness has been identified in Nothings stb up to 2.30. This impacts the function stbi__load_gif_main of the file stb_image.h of the component Multi-frame GIF File Handler. This manipulation causes double free. The attack requires local access. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
CVE-2026-5186 is a double free vulnerability in Nothings stb library versions up to 2.30 affecting the GIF file handler component. The vulnerability requires local access and could lead to memory corruption and potential code execution.
تم تحديد ضعف double free في دالة stbi__load_gif_main بمكتبة Nothings stb حتى الإصدار 2.30. تتطلب الثغرة وصولاً محلياً للنظام وقد تؤدي إلى تعطل التطبيق أو تنفيذ أكواد ضارة. تم الإفصاح العام عن الثغرة والمورد لم يستجب للإشعارات الأولية.
CVE-2026-5186 هو ثغرة double free في مكتبة Nothings stb الإصدارات حتى 2.30 تؤثر على معالج ملفات GIF. تتطلب الثغرة وصولاً محلياً وقد تؤدي إلى تلف الذاكرة وتنفيذ الأكواد.
Update Nothings stb library to version 2.31 or later. Review and patch all applications using stb_image.h component. Implement input validation for GIF files and restrict local file access permissions where possible.
قم بتحديث مكتبة Nothings stb إلى الإصدار 2.31 أو أحدث. راجع وصحح جميع التطبيقات التي تستخدم مكون stb_image.h. طبق التحقق من صحة ملفات GIF وقيد صلاحيات الوصول للملفات المحلية حيث أمكن.