CVE-2026-26740: giflib - Buffer Overflow
- Cve: CVE-2026-26740
- Name: giflib - Buffer Overflow
- 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.
- Impact: Remote attackers can cause denial of service by triggering a buffer overflow.
- Remediation: Update to the latest version of giflib.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- Epss score: 0.00724
- Epss percentile: 0.54996
- Assignee: [email protected]
- Published at: 2026-03-18T18:16:26Z
- Age in days: 250
- Modified at: 2026-07-23T12:17:15Z
- Public exploits total: 1
- References total: 21
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-26740
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/zakkanijia/POC/blob/main/giflib/giftool/giflib_giftool_gce_len_heap_oobwrite_disclosure.md | nvd | 2026-03-18 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| giflib_project:giflib | = 5.2.2 | no | nvd | /v1/products/giflib_project/giflib |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-18
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts