CVE-2021-38115

NameCVE-2021-38115
Descriptionread_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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3781-1, ELA-1069-1
Debian Bugs991912

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libgd2 (PTS)jessie, jessie (lts)2.1.0-5+deb8u15fixed
stretch (security)2.2.4-2+deb9u4vulnerable
stretch (lts), stretch2.2.4-2+deb9u6fixed
buster (security), buster, buster (lts)2.2.5-5.2+deb10u1fixed
bullseye2.3.0-2vulnerable
bookworm2.3.3-9fixed
sid, trixie2.3.3-12fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libgd2sourcejessie2.1.0-5+deb8u15ELA-1069-1
libgd2sourcestretch2.2.4-2+deb9u6ELA-1069-1
libgd2sourcebuster2.2.5-5.2+deb10u1DLA-3781-1
libgd2source(unstable)2.3.3-1991912

Notes

[bullseye] - libgd2 <no-dsa> (Minor issue)
[stretch] - libgd2 <no-dsa> (Minor issue)
https://github.com/libgd/libgd/issues/697
https://github.com/libgd/libgd/commit/8b111b2b4a4842179be66db68d84dda91a246032 (gd-2.3.3~1)

Search for package or bug name: Reporting problems