| Name | CVE-2026-26740 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1131368 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| giflib (PTS) | bullseye | 5.1.9-2 | vulnerable |
| bookworm | 5.2.1-2.5 | vulnerable | |
| trixie | 5.2.2-1 | vulnerable | |
| forky, sid | 6.1.3-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| giflib | source | (unstable) | 6.1.3-1 | 1131368 |
[trixie] - giflib <no-dsa> (Minor issue)
https://github.com/zakkanijia/POC/blob/main/giflib/giftool/giflib_giftool_gce_len_heap_oobwrite_disclosure.md
https://sourceforge.net/p/giflib/bugs/199/
https://sourceforge.net/p/giflib/bugs/201/
Patch applied in Debian: https://sourceforge.net/p/giflib/bugs/201/attachment/0001-Fix-heap-buffer-overflow-in-EGifGCBToSavedExtension.patch