Out-of-bounds write in GIFLIB - CVE-2026-26740

 

Out-of-bounds write in GIFLIB - CVE-2026-26740

Published: June 29, 2026


Vulnerability identifier: #VU135705
CSH Severity: Low
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-26740
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to a boundary error when processing untrusted input. A remote attacker can send a specially crafted file to the system to trigger an out-of-bounds write and perform a denial of service attack.


Affected software

GIFLIB
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support
Red Hat CodeReady Linux Builder for IBM z Systems - Extended Update Support
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support
Basesystem Module
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
giflib-devel
giflib-debugsource
libgif6
giflib-progs
libgif6-debuginfo
giflib-progs-debuginfo
libgif6-32bit
libgif6-debuginfo-32bit
giflib (Red Hat package)
giflib
giflib-utils
giflib-help
giflib-debuginfo
libgif7
libgif7-debuginfo
java-25-openjdk (Red Hat package)

How to mitigate CVE-2026-26740

Install updates from vendor's website.

giflib-devel - addressed in versions 5.0.6-13.15.1, 5.2.2-150000.4.22.1
giflib-debugsource - addressed in versions 5.0.6-13.15.1, 5.2.2-150000.4.22.1
libgif6 - update to 5.0.6-13.15.1
giflib-progs - update to 5.0.6-13.15.1
libgif6-debuginfo - update to 5.0.6-13.15.1
giflib-progs-debuginfo - update to 5.0.6-13.15.1
libgif6-32bit - update to 5.0.6-13.15.1
libgif6-debuginfo-32bit - update to 5.0.6-13.15.1
giflib (Red Hat package) - addressed in versions 5.1.4-3.el8_4.2, 5.1.4-3.el8_6.2, 5.1.4-3.el8_8.2, 5.1.4-5.el8_10, 5.2.1-9.el9_2.2, 5.2.1-9.el9_4.2, 5.2.1-9.el9_6.2, 5.2.1-10.el9_8.2, 5.2.1-22.el10_0.2, 5.2.1-25.el10_2
giflib - update to 5.2.1-10
giflib-devel - update to 5.2.1-10
giflib - update to 5.2.2-4
giflib-devel - update to 5.2.2-4
giflib-utils - update to 5.2.2-4
giflib-help - update to 5.2.2-4
giflib-debugsource - update to 5.2.2-4
giflib-debuginfo - update to 5.2.2-4
libgif7 - update to 5.2.2-150000.4.22.1
libgif7-debuginfo - update to 5.2.2-150000.4.22.1
giflib - update to 6.1.3-2.fc44
java-25-openjdk (Red Hat package) - addressed in versions 25.0.3.0.9-1.el9, 25.0.3.0.9-1.el10_2

External References

Related Security Bulletins