Quick answers
- Is CVE-2026-26740 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-26740 being exploited in the wild.
- How severe is CVE-2026-26740?
- High severity, with a CVSS score of 8.2, published 18 March 2026.
- Which products and versions are affected?
- Giflib Project Giflib 5.2.2.
- Is there a fix for CVE-2026-26740?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-26740 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-26740?
- Check whether you run Giflib Project Giflib, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A buffer overflow vulnerability exists in giflib version 5.2.2 within the EGifGCBToExtension and EGifGCBToSavedExtension functions in egif_lib.c. The issue stems from the library overwriting an existing Graphic Control Extension (GCE) block without properly validating the allocated size of the destination buffer. A remote, unauthenticated attacker can exploit this by providing a malformed GIF, leading to an out-of-bounds write. This can result in a denial of service (application crash) or potentially limited data corruption. While a fix was reported to be in the pipeline by upstream maintainers, it was not yet fully resolved at the time of the advisory.
Affected products
- giflib project giflib 5.2.2
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
Timeline
- 2026-03-18: disclosed: Initial disclosure of CVE-2026-26740
- 2026-03-18: advisory: NVD publication date