CVE-2026-26740
CVE-2026-26740 is a high-severity vulnerability in Giflib Project Giflib with a CVSS 3.x base score of 8.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 8.2)
- EPSS exploit prediction: 1% (45th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-12914
- Weakness: CWE-787
- Affected product: Giflib Project Giflib
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-26740?
- 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.
- How severe is CVE-2026-26740?
- CVE-2026-26740 has a CVSS 3.x base score of 8.2, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability high.
- Is CVE-2026-26740 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (45th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-26740?
- CVE-2026-26740 affects Giflib Project Giflib. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-26740?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-26740 have an EU (EUVD) identifier?
- Yes. CVE-2026-26740 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-12914.
- When was CVE-2026-26740 published?
- CVE-2026-26740 was published on 2026-03-18 and last updated on 2026-07-07.
References
- https://github.com/zakkanijia/POC/blob/main/giflib/giftool/giflib_giftool_gce_len_heap_oobwrite_disclosure.md
- https://access.redhat.com/errata/RHSA-2026:33447
- https://access.redhat.com/errata/RHSA-2026:33450
- https://access.redhat.com/errata/RHSA-2026:33451
- https://access.redhat.com/errata/RHSA-2026:33452
- https://access.redhat.com/errata/RHSA-2026:33455
- https://access.redhat.com/errata/RHSA-2026:33456
- https://access.redhat.com/errata/RHSA-2026:33501
- https://access.redhat.com/errata/RHSA-2026:33502
- https://access.redhat.com/errata/RHSA-2026:33503
- https://access.redhat.com/errata/RHSA-2026:33509
- https://access.redhat.com/errata/RHSA-2026:36004
- https://access.redhat.com/errata/RHSA-2026:36005
- https://access.redhat.com/errata/RHSA-2026:36006
- https://access.redhat.com/security/cve/CVE-2026-26740
- https://bugzilla.redhat.com/show_bug.cgi?id=2448747
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26740.json
Affected products (1)
- cpe:2.3:a:giflib_project:giflib:5.2.2:*:*:*:*:*:*:*
More vulnerabilities in Giflib Project Giflib
- CVE-2016-3177 — Critical (CVSS 9.8): Multiple use-after-free and double-free vulnerabilities in gifcolor.c in GIFLIB 5.1.2 have unspecified impact and…
- CVE-2021-40633 — High (CVSS 8.8): A memory leak (out-of-memory) in gif2rgb in util/gif2rgb.c in giflib 5.1.4 allows remote attackers trigger an out of…
- CVE-2018-11490 — High (CVSS 8.8): The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p…
- CVE-2018-11489 — High (CVSS 8.8): The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p…
- CVE-2023-48161 — High (CVSS 7.1): Buffer Overflow vulnerability in GifLib Project GifLib v.5.2.1 allows a local attacker to obtain sensitive information…
- CVE-2020-23922 — High (CVSS 7.1): An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.
All CVEs affecting Giflib Project Giflib →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…