
CVE catalog
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 validat
- Severity
- High · CVSS 8.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.64% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | giflib | sid | 6.1.3-1 | fixed |
| Debian | giflib | forky | 6.1.3-1 | fixed |
| Debian | giflib | trixie | 5.2.2-1+deb13u1 | fixed |
| Debian | giflib | bookworm | 5.2.1-2.5+deb12u1 | fixed |
| Cpe | giflib | Not reported | 5.2.1-2.5+deb12u1 | fixed |
| Ubuntu | giflib | noble | 5.2.2-1ubuntu1.2 | fixed |
| Ubuntu | giflib-tools | noble | 5.2.2-1ubuntu1.2 | fixed |
| Ubuntu | libgif-dev | noble | 5.2.2-1ubuntu1.2 | fixed |
| Ubuntu | libgif7 | noble | 5.2.2-1ubuntu1.2 | fixed |
| Alpine | giflib | 3.21 | 5.2.2-r2 | fixed |
| Alpine | giflib | 3.22 | 5.2.2-r2 | fixed |
| Alpine | giflib | 3.23 | 5.2.2-r2 | fixed |
| Alpine | giflib | 3.24 | 5.2.2-r2 | fixed |
| Ubuntu | giflib | pro | 5.1.4-1 | vulnerable |
| Ubuntu | giflib | pro | 5.1.4-2 | vulnerable |
| Ubuntu | giflib | pro | 5.1.4-2ubuntu0.1 | vulnerable |
| Ubuntu | giflib | pro | 5.1.4-2ubuntu0.1+esm1 | vulnerable |
| Ubuntu | giflib | 20.04 | 5.1.4-3ubuntu1 | vulnerable |
| Ubuntu | giflib | 20.04 | 5.1.9-1 | vulnerable |
| Ubuntu | giflib | 20.04 | 5.1.9-1ubuntu0.1 | vulnerable |
| Ubuntu | giflib | 22.04 | 5.1.9-2build1 | vulnerable |
| Ubuntu | giflib | 22.04 | 5.1.9-2build2 | vulnerable |
| Ubuntu | giflib | 22.04 | 5.1.9-2ubuntu0.1 | vulnerable |
| Ubuntu | giflib | 22.04 | 5.1.9-2ubuntu0.3 | fixed |
| Ubuntu | giflib | 24.04 | 5.2.1-2.5 | vulnerable |
| Ubuntu | giflib | 24.04 | 5.2.2-1ubuntu1 | vulnerable |
| Ubuntu | giflib | 24.04 | 5.2.2-1ubuntu1.2 | fixed |
| Ubuntu | giflib | 25.10 | 5.2.2-1ubuntu2 | vulnerable |
| Ubuntu | giflib | 26.04 | 5.2.2-1ubuntu2 | vulnerable |
| Ubuntu | giflib | 26.04 | 5.2.2-1ubuntu3 | vulnerable |
| Ubuntu | giflib | 26.04 | 5.2.2-1ubuntu3.2 | fixed |
| Suse | giflib | linux enterprise server 16.0 | 5.2.2-160000.4.1 | fixed |
| Suse | giflib | linux enterprise server for sap applications 16.0 | 5.2.2-160000.4.1 | fixed |
| Opensuse | giflib | leap 16.0 | 5.2.2-160000.4.1 | fixed |
| Suse | giflib | linux enterprise module for basesystem 15 sp7 | 5.2.2-150000.4.22.1 | fixed |
| Suse | giflib | linux enterprise high performance computing 15 sp4-espos | 5.2.2-150000.4.22.1 | fixed |
| Suse | giflib | linux enterprise high performance computing 15 sp4-ltss | 5.2.2-150000.4.22.1 | fixed |
| Suse | giflib | linux enterprise high performance computing 15 sp5-espos | 5.2.2-150000.4.22.1 | fixed |
| Suse | giflib | linux enterprise high performance computing 15 sp5-ltss | 5.2.2-150000.4.22.1 | fixed |
| Suse | giflib | linux enterprise server 15 sp4-ltss | 5.2.2-150000.4.22.1 | fixed |
| Suse | giflib | linux enterprise server 15 sp5-ltss | 5.2.2-150000.4.22.1 | fixed |
| Suse | giflib | linux enterprise server 15 sp6-ltss | 5.2.2-150000.4.22.1 | fixed |
| Suse | giflib | linux enterprise server for sap applications 15 sp4 | 5.2.2-150000.4.22.1 | fixed |
| Suse | giflib | linux enterprise server for sap applications 15 sp5 | 5.2.2-150000.4.22.1 | fixed |
| Suse | giflib | linux enterprise server for sap applications 15 sp6 | 5.2.2-150000.4.22.1 | fixed |
| Suse | giflib | linux enterprise server 12 sp5-ltss | 5.0.6-13.15.1 | fixed |
| Suse | giflib | linux enterprise server ltss extended security 12 sp5 | 5.0.6-13.15.1 | fixed |
| Opensuse | giflib | tumbleweed | 5.2.2-4.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | giflib | source | sid | 6.1.3-1 | not yet assigned | Not reported | [1131368] |
| Debian | giflib | source | forky | 6.1.3-1 | not yet assigned | Not reported | [1131368] |
| Debian | giflib | source | trixie | 5.2.2-1+deb13u1 | not yet assigned | Not reported | [1131368] |
| Debian | giflib | source | bookworm | 5.2.1-2.5+deb12u1 | not yet assigned | Not reported | [1131368] |
| Cpe | giflib | cpe | Not reported | 5.2.1-2.5+deb12u1 | Not reported | Not reported | Not reported |
| Ubuntu | giflib | deb | noble | 5.2.2-1ubuntu1.2 | Not reported | Not reported | Not reported |
| Ubuntu | giflib-tools | deb | noble | 5.2.2-1ubuntu1.2 | Not reported | Not reported | Not reported |
| Ubuntu | libgif-dev | deb | noble | 5.2.2-1ubuntu1.2 | Not reported | Not reported | Not reported |
| Ubuntu | libgif7 | deb | noble | 5.2.2-1ubuntu1.2 | Not reported | Not reported | Not reported |
| Alpine | giflib | apk | 3.21 | 5.2.2-r2 | Not reported | ALPINE-CVE-2026-26740 | Not reported |
| Alpine | giflib | apk | 3.22 | 5.2.2-r2 | Not reported | ALPINE-CVE-2026-26740 | Not reported |
| Alpine | giflib | apk | 3.23 | 5.2.2-r2 | Not reported | ALPINE-CVE-2026-26740 | Not reported |
| Alpine | giflib | apk | 3.24 | 5.2.2-r2 | Not reported | ALPINE-CVE-2026-26740 | Not reported |
| Ubuntu | giflib | deb | 22.04 | 5.1.9-2ubuntu0.3 | Not reported | UBUNTU-CVE-2026-26740 | Not reported |
| Ubuntu | giflib | deb | 24.04 | 5.2.2-1ubuntu1.2 | Not reported | UBUNTU-CVE-2026-26740 | Not reported |
| Ubuntu | giflib | deb | 26.04 | 5.2.2-1ubuntu3.2 | Not reported | UBUNTU-CVE-2026-26740 | Not reported |
| Suse | giflib | rpm | linux enterprise server 16.0 | 5.2.2-160000.4.1 | Not reported | SUSE-SU-2026:22382-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server for sap applications 16.0 | 5.2.2-160000.4.1 | Not reported | SUSE-SU-2026:22382-1 | Not reported |
| Opensuse | giflib | rpm | leap 16.0 | 5.2.2-160000.4.1 | Not reported | OPENSUSE-SU-2026:21076-1 | Not reported |
| Suse | giflib | rpm | linux enterprise module for basesystem 15 sp7 | 5.2.2-150000.4.22.1 | Not reported | SUSE-SU-2026:2666-1 | Not reported |
| Suse | giflib | rpm | linux enterprise high performance computing 15 sp4-espos | 5.2.2-150000.4.22.1 | Not reported | SUSE-SU-2026:2666-1 | Not reported |
| Suse | giflib | rpm | linux enterprise high performance computing 15 sp4-ltss | 5.2.2-150000.4.22.1 | Not reported | SUSE-SU-2026:2666-1 | Not reported |
| Suse | giflib | rpm | linux enterprise high performance computing 15 sp5-espos | 5.2.2-150000.4.22.1 | Not reported | SUSE-SU-2026:2666-1 | Not reported |
| Suse | giflib | rpm | linux enterprise high performance computing 15 sp5-ltss | 5.2.2-150000.4.22.1 | Not reported | SUSE-SU-2026:2666-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server 15 sp4-ltss | 5.2.2-150000.4.22.1 | Not reported | SUSE-SU-2026:2666-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server 15 sp5-ltss | 5.2.2-150000.4.22.1 | Not reported | SUSE-SU-2026:2666-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server 15 sp6-ltss | 5.2.2-150000.4.22.1 | Not reported | SUSE-SU-2026:2666-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server for sap applications 15 sp4 | 5.2.2-150000.4.22.1 | Not reported | SUSE-SU-2026:2666-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server for sap applications 15 sp5 | 5.2.2-150000.4.22.1 | Not reported | SUSE-SU-2026:2666-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server for sap applications 15 sp6 | 5.2.2-150000.4.22.1 | Not reported | SUSE-SU-2026:2666-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server 12 sp5-ltss | 5.0.6-13.15.1 | Not reported | SUSE-SU-2026:2667-1 | Not reported |
| Suse | giflib | rpm | linux enterprise server ltss extended security 12 sp5 | 5.0.6-13.15.1 | Not reported | SUSE-SU-2026:2667-1 | Not reported |
| Opensuse | giflib | rpm | tumbleweed | 5.2.2-4.1 | Not reported | OPENSUSE-SU-2026:11117-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [giflib-devel]Unknown
Source package: [giflib]
Details (1)
5.2.2-4.3· x86_64 · tumbleweedUnknown · Fixed:
5.2.2-4.1Version impact unknown
nvd · giflib · opensuse · tumbleweed
- [giflib-devel-32bit]Unknown
Source package: [giflib]
Details (1)
5.2.2-4.3· x86_64 · tumbleweedUnknown · Fixed:
5.2.2-4.1Version impact unknown
nvd · giflib · opensuse · tumbleweed
- [giflib-progs]Unknown
Source package: [giflib]
Details (1)
5.2.2-4.3· x86_64 · tumbleweedUnknown · Fixed:
5.2.2-4.1Version impact unknown
nvd · giflib · opensuse · tumbleweed
- [libgif7]Unknown
Source package: [giflib]
Details (1)
5.2.2-4.3· x86_64 · tumbleweedUnknown · Fixed:
5.2.2-4.1Version impact unknown
nvd · giflib · opensuse · tumbleweed
- [libgif7-32bit]Unknown
Source package: [giflib]
Details (1)
5.2.2-4.3· x86_64 · tumbleweedUnknown · Fixed:
5.2.2-4.1Version impact unknown
nvd · giflib · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [giflib-tools]Fixed
Source package: [giflib]
Details (2)
5.2.1-2.5+deb12u1· amd64 · bookwormFixed · Fixed:
5.2.1-2.5+deb12u1nvd · giflib · debian · bookworm; nvd · giflib · debian · 12
5.2.1-2.5+deb12u1· arm64 · bookwormFixed · Fixed:
5.2.1-2.5+deb12u1nvd · giflib · debian · bookworm; nvd · giflib · debian · 12
- [libgif7]Fixed
Source package: [giflib]
Details (2)
5.2.1-2.5+deb12u1· amd64 · bookwormFixed · Fixed:
5.2.1-2.5+deb12u1nvd · giflib · debian · bookworm; nvd · giflib · debian · 12
5.2.1-2.5+deb12u1· arm64 · bookwormFixed · Fixed:
5.2.1-2.5+deb12u1nvd · giflib · debian · bookworm; nvd · giflib · debian · 12
- [libgif-dev]Fixed
Source package: [giflib]
Details (2)
5.2.1-2.5+deb12u1· amd64 · bookwormFixed · Fixed:
5.2.1-2.5+deb12u1nvd · giflib · debian · bookworm; nvd · giflib · debian · 12
5.2.1-2.5+deb12u1· arm64 · bookwormFixed · Fixed:
5.2.1-2.5+deb12u1nvd · giflib · debian · bookworm; nvd · giflib · debian · 12
[Debian 13 (Trixie)]
- [giflib-tools]Fixed
Source package: [giflib]
Details (2)
5.2.2-1+deb13u1· amd64 · trixieFixed · Fixed:
5.2.2-1+deb13u1nvd · giflib · debian · 13
5.2.2-1+deb13u1· arm64 · trixieFixed · Fixed:
5.2.2-1+deb13u1nvd · giflib · debian · 13
- [libgif7]Fixed
Source package: [giflib]
Details (2)
5.2.2-1+deb13u1· amd64 · trixieFixed · Fixed:
5.2.2-1+deb13u1nvd · giflib · debian · 13
5.2.2-1+deb13u1· arm64 · trixieFixed · Fixed:
5.2.2-1+deb13u1nvd · giflib · debian · 13
- [libgif-dev]Fixed
Source package: [giflib]
Details (2)
5.2.2-1+deb13u1· amd64 · trixieFixed · Fixed:
5.2.2-1+deb13u1nvd · giflib · debian · 13
5.2.2-1+deb13u1· arm64 · trixieFixed · Fixed:
5.2.2-1+deb13u1nvd · giflib · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2026_9693.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-26740]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-26740]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-26740]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22382-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:2666-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:2667-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-26740]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11117-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21076-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-26740]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26740.json]
- [https://ubuntu.com/security/notices/USN-8583-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2137.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]