The Sourceforge project for giflib has a commit tag 6.1.3 which includes a commit referencing and fixing CVE-2026-26740, with these lines at lines 693-695 of egif_lib.c introduced by commit [061605]:
However, the FreeBSD vulnerability entry says that giflib versions <= 6.1.3 remain vulnerable to CVE-2026-26740.
Is this a mistake in vuln.xml?
Code:
693 if (ep->ByteCount < 4) {
694 return GIF_ERROR;
695 }
However, the FreeBSD vulnerability entry says that giflib versions <= 6.1.3 remain vulnerable to CVE-2026-26740.
Is this a mistake in vuln.xml?
Code:
<vuln vid="dd6096e6-8555-11f1-b4c7-00a0980083d7">
<topic>giflib -- Buffer Overflow vulnerability</topic>
<affects>
<package>
<name>giflib</name>
<range><le>6.1.3</le></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>https://github.com/zakkanijia/POC/blob/main/giflib/giftool/giflib_giftool_gce_len_heap_oobwrite_disclosure.md repo
rts:</p>
<blockquote cite="https://github.com/zakkanijia/POC/blob/main/giflib/giftool/giflib_giftool_gce_len_heap_oobwrite_dis
closure.md">
<p>Buffer Overflow vulnerability in giflib v.5.2.2 allows a remote
attacker to cause a denial of service via the EGifGCBToExtension
overwriting an existing Graphic Control Extension block without
validating its allocated size.</p>
</blockquote>
</body>
</description>
<references>
<cvename>CVE-2026-26740</cvename>
<url>https://cveawg.mitre.org/api/cve/CVE-2026-26740</url>
</references>
<dates>
<discovery>2026-03-18</discovery>
<entry>2026-07-21</entry>
</dates>
</vuln>