CVE-2021-40145

EUVD-2021-27331
gdImageGd2Ptr in gd_gd2.c in the GD Graphics Library (aka LibGD) through 2.3.2 has a double free. NOTE: the vendor's position is "The GD2 image format is a proprietary image format of libgd. It has to be regarded as being obsolete, and should only be used for development and testing purposes.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 67%
Affected Products (NVD)
VendorProductVersion
libgdlibgd
𝑥
≤ 2.3.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libgd2
bookworm
2.3.3-9
fixed
bullseye
unimportant
sid
2.3.3-12
fixed
trixie
2.3.3-12
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libgd2
bionic
Fixed 2.2.5-4ubuntu0.5
released
focal
Fixed 2.2.5-5.2ubuntu2.1
released
hirsute
Fixed 2.3.0-2ubuntu0.1
released
impish
Fixed 2.3.0-2ubuntu1
released
jammy
Fixed 2.3.0-2ubuntu1
released
trusty
Fixed 2.1.0-3ubuntu0.11+esm2
released
xenial
Fixed 2.1.1-4ubuntu0.16.04.12+esm1
released
php5
bionic
dne
focal
dne
hirsute
dne
impish
dne
jammy
dne
trusty
not-affected
xenial
dne
php7.0
bionic
dne
focal
dne
hirsute
dne
impish
dne
jammy
dne
trusty
dne
xenial
not-affected
php7.2
bionic
not-affected
focal
dne
hirsute
dne
impish
dne
jammy
dne
trusty
dne
xenial
dne
php7.3
bionic
dne
focal
dne
hirsute
dne
impish
dne
jammy
dne
trusty
dne
xenial
dne