Critical Buffer Overflow Vulnerability in GD Package - Important Security Update

gd Updated 13 Oct 2026

Summary

12/10/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:81518: Important: gd security update. Affects gd versions < 2.3.3-20.el10_2.1. Fixed in 2.3.3-20.el10_2.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

GD is an open-source code library widely used for the dynamic creation of images in various formats, including PNG, JPEG, GIF, WebP, XPM, and BMP. It is a crucial tool for developers who need to generate images programmatically. However, the library has been found to have a significant security vulnerability that could potentially allow attackers to exploit the system by crafting malicious GIF files.

Vulnerability Detail

The vulnerability identified as CVE-2026-9672 is a buffer overflow issue that occurs when the GD library processes specially crafted GIF files. This flaw can lead to arbitrary code execution, allowing attackers to manipulate the system or execute malicious code. The origin of this vulnerability lies in improper handling of input data, which can result in memory corruption and unpredictable behavior of the application using the GD library.

How To Fix

Minimum fixed version

2.3.3-20.el10_2.1

This is the first release that contains the fix.

sudo dnf update gd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can avoid processing untrusted or unverified GIF files until the package is updated. Additionally, implementing input validation to check the integrity of files before processing can help mitigate the risk.

Conclusion

The GD library has a critical buffer overflow vulnerability that requires immediate attention. Users are advised to update their GD and GD-devel packages to the latest patched version to protect their systems from potential exploits. Regular updates and monitoring for vulnerabilities are essential practices for maintaining software security.

See every vulnerability recorded for gd →

Share this vulnerability

FAQ

The GD library is an open-source code library used for creating and manipulating images dynamically in various formats.

CVE-2026-9672 is a buffer overflow vulnerability in the GD library that can be exploited through specially crafted GIF files, potentially leading to arbitrary code execution.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability can lead to memory corruption, arbitrary code execution, and potentially full system compromise.

It is recommended to regularly check for updates and apply security patches as soon as they are available to minimize the risk of vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for gd.

How To Fix

Minimum fixed version

2.3.3-20.el10_2.1

This is the first release that contains the fix.

sudo dnf update gd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback