Description
The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and gdPutBuf return value checks.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libgd2 | 2.3.3-1 | — |
| Debian 13 | libgd2 | 2.3.3-1 | — |
| Debian 12 | libgd2 | 2.3.3-1 | — |
| Debian 11 | libgd2 | 2.3.0-2+deb11u1 | DLA-4411-1 |
| Debian 10 | libgd2 | 2.2.5-5.2+deb10u1 | DLA-3781-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libgd2 | 2.3.0-2ubuntu2.3 | USN-7112-1 |
| Ubuntu 20.04 LTS | libgd2 | 2.2.5-5.2ubuntu2.4 | USN-7112-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | libgd2 | 2.2.5-4ubuntu0.5+esm3 | USN-7112-1 |
| Ubuntu Pro 16.04 LTS | libgd2 | 2.1.1-4ubuntu0.16.04.12+esm4 | USN-7112-1 |
| Ubuntu Pro 14.04 LTS | libgd2 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | gd | 2.2.5-11.3.1 | SUSE-SU-2021:3236-1 |
| SLES 15 SP2 | gd | 2.2.5-11.3.1 | SUSE-SU-2021:3236-1 |
| SLES 12 SP5 | gd | 2.1.0-24.20.1 | SUSE-SU-2021:3214-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | gd | 2.1.0-24.20.1 | SUSE-SU-2021:3214-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | gd | 2.2.5-11.3.1 | openSUSE-SU-2021:3236-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | gd | 2.3.3-1 | — |
Advisories 8
- WID-SEC-2022-0432 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2022-0302 Xerox FreeFlow Print Server: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode mit Administratorrechten BSI CERT-Bund (WID) · Oct 11, 2026
- USN-7112-1 libgd2 vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3781-1 libgd2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2021:3236-1 Security update for gd SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3214-1 Security update for gd SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3236-1 Security update for gd SUSE / openSUSE Security Updates · Feb 4, 2026
- DLA-4411-1 libgd2 - security update Debian Security (DSA / DLA) · Dec 16, 2025