CVE Database›CVE-2026-9672

CVE-2026-9672

libgd: buffer overflow when processing specially crafted GIF file

Loading…

Severity

Important

Red Hat Product Security

8.1

CVSS 3.1

Review impact separately from score.

Published · July 26, 2026

Updated · November 3, 2026

Description

A flaw was found in libgd. Processing a specially crafted GIF file allows a remote attacker to trigger a buffer overflow, resulting in an application crash and a denial of service. Arbitrary code execution is possible in theory, but considered highly unlikely because standard image decompression and pixel manipulation generally destroy the exploit payload.

Statement

To exploit this flaw, a remote attacker needs to be able to process a crafted GIF file with an application linked to the libgd library. Successful exploitation can result in an application crash, leading to a denial of service, or in arbitrary code execution. However, arbitrary code execution is highly unlikely because standard image decompression and pixel manipulation generally destroy the exploit payload.

For these reasons, this vulnerability has been rated with an important severity.

Default Red Hat Enterprise Linux security features, including SELinux enforcement, Address Space Layout Randomization (ASLR) and NX (No-Execute) memory protection, significantly increase the difficulty of achieving arbitrary code execution, limiting the impact of this vulnerability.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

CVSS / CWE

CVSS 3.1 · 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CWE-120 · Buffer Copy without Checking Size of Input