Skip to content
OpenAdvisories
Unscored CVE-2021-38115 EUVD-2021-24588GHSA-26x8-wc99-6x99

read_header_tga in gd_tga.c in the GD Graphics Library (aka LibGD) through 2.3.2 allows remote attackers to cause a denial of service (out-…

Published Aug 4, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

read_header_tga in gd_tga.c in the GD Graphics Library (aka LibGD) through 2.3.2 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file.

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libgd2 2.3.0-2ubuntu1 —
Ubuntu 20.04 LTS libgd2 2.2.5-5.2ubuntu2.1 USN-5068-1
Ubuntu 18.04 LTS libgd2 2.2.5-4ubuntu0.5 USN-5068-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS libgd2 2.1.1-4ubuntu0.16.04.12+esm1 USN-5068-1
Ubuntu Pro 14.04 LTS libgd2 2.1.0-3ubuntu0.11+esm2 USN-5068-1
ReleasePackageFixed inAdvisory
Alpine v3.24 gd 2.3.0-r1 —
Alpine v3.23 gd 2.3.0-r1 —
Alpine v3.22 gd 2.3.0-r1 —
Alpine v3.21 gd 2.3.0-r1 —
Alpine v3.20 gd 2.3.0-r1 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 gd 2.3.0-r1 —
Alpine v3.18 gd 2.3.0-r1 —
Alpine v3.17 gd 2.3.0-r1 —
Alpine v3.16 gd 2.3.0-r1 —
Alpine v3.15 gd 2.3.0-r1 —
Alpine v3.14 gd 2.3.0-r1 —
Alpine v3.13 gd 2.3.0-r1 —
Alpine v3.12 gd 2.3.0-r1 —
Alpine v3.11 gd 2.2.5-r4 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) gd 2.3.3-1 —

Advisories 5

References