CVE-2026-9672: Buffer Overflow in libgd GIF LZW Decoding
- Vendor
- PHP Group
CVE-2026-9672 is a buffer overflow vulnerability in the libgd graphics library's GIF decoder involving the use of uninitialized LZW table entries during decompression. Processing a specially crafted GIF image can cause memory corruption, resulting in denial of service or potentially arbitrary code execution. Applications incorporating vulnerable libgd code, including affected PHP GD installations, can expose the vulnerable decoder.
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.
Successful exploitation can crash the image-processing application or potentially execute arbitrary code in its process context. The vulnerability carries a CVSS v3.0 base score of 8.1, reflecting potentially high confidentiality, integrity, and availability impacts. Arbitrary code execution is a potential outcome, not an established exploitation result.
Mitigation
If you can’t patch tonight, do this now.
Avoid processing untrusted GIF images until updates are installed. No specific workaround is documented.
Remediation
Patch, then assume compromise.
Install the vendor-provided security updates for libgd and affected dependent packages. Fixed packages include Debian stable (trixie) libgd2 version 2.3.3-14~deb13u1, RHEL 9 gd version 2.3.2-3.el9_8.1 under RHSA-2026:81517, RHEL 10 gd version 2.3.3-20.el10_2.1 under RHSA-2026:81518, and applicable TuxCare Enterprise Linux 6 gd packages version 2.0.35-13.el6.tuxcare.els1. For other distributions and PHP builds incorporating the affected decoder, apply the corresponding vendor security update rather than assuming a universal fixed upstream version.
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 26, 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 26, 2026, Mallory has found no public exploit for CVE-2026-9672.
- Is there a patch for CVE-2026-9672?
- Install the vendor-provided security updates for libgd and affected dependent packages. Fixed packages include Debian stable (trixie) libgd2 version 2.3.3-14~deb13u1, RHEL 9 gd version 2.3.2-3.el9_8.1 under RHSA-2026:81517, RHEL 10 gd version 2.3.3-20.el10_2.1 under RHSA-2026:81518, and applicable TuxCare Enterprise Linux 6 gd packages version 2.0.35-13.el6.tuxcare.els1.
- What products are affected by CVE-2026-9672?
- PHP Group Php.
Recent activity
55 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.