CVE-2026-9672: Buffer Overflow in libgd GIF Decoding
- Vendor
- PHP Group
CVE-2026-9672 is a buffer overflow vulnerability in the GD Graphics Library (libgd) triggered by decoding a specially crafted GIF image. The defect involves LZW decompression during GIF handling; associated fixes also address use of uninitialized memory. Applications that process attacker-controlled GIF images through an affected library may suffer denial of service or potentially arbitrary code execution. Affected packages are covered by security updates for Debian and multiple Red Hat Enterprise Linux, Oracle Linux, AlmaLinux, Rocky Linux, and CentOS releases.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Processing a malicious GIF image can cause memory corruption, denial of service, and potentially arbitrary code execution in the affected application's security context. The CVSS v3.0 assessment is 8.1 (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), reflecting potentially high confidentiality, integrity, and availability impacts. Arbitrary code execution is a potential consequence, not an established exploitation outcome.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid processing untrusted GIF images through affected libgd installations, including GIF uploads and automated image-processing inputs. No specific vendor workaround is identified; exposure reduction does not replace installing the security update.
Remediation
Patch, then assume compromise.
Install the applicable vendor security update for libgd and its affected packages, including gd, gd-devel, and gd-progs where applicable. Fixed builds include Debian trixie libgd2 2.3.3-14~deb13u1; RHEL 9 gd 2.3.2-3.el9_8.1; RHEL 10 gd 2.3.3-20.el10_2.1; and RHEL 8.4, 8.6, and 8.8 gd builds 2.2.5-7.el8_4.1, 2.2.5-7.el8_6.1, and 2.2.5-7.el8_8.1, respectively. Oracle Linux 9 and 10 identify fixed releases 2.3.2-3.1 and 2.3.3-20.1, respectively. For other affected distribution streams, apply the corresponding Red Hat, AlmaLinux, or TuxCare advisory update. Use the package appropriate to the installed distribution and support stream rather than comparing upstream version numbers alone.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-9672 exploited in the wild?
- As of Nov 13, 2026, Mallory has no reports of CVE-2026-9672 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-9672?
- As of Nov 13, 2026, Mallory has found no public exploit for CVE-2026-9672.
- Is there a patch for CVE-2026-9672?
- Install the applicable vendor security update for libgd and its affected packages, including gd, gd-devel, and gd-progs where applicable. Fixed builds include Debian trixie libgd2 2.3.3-14~deb13u1; RHEL 9 gd 2.3.2-3.el9_8.1; RHEL 10 gd 2.3.3-20.el10_2.1; and RHEL 8.4, 8.6, and 8.8 gd builds 2.2.5-7.el8_4.1, 2.2.5-7.el8_6.1, and 2.2.5-7.el8_8.1, respectively.
- What products are affected by CVE-2026-9672?
- PHP Group Php.
Recent activity
49 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.