CVE-2021-40145

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
NISTNIST
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
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 63%
VendorProductVersion
libgdlibgd
𝑥
≤ 2.3.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libgd2
bullseye
unimportant
bookworm
2.3.3-9
fixed
sid
2.3.3-12
fixed
trixie
2.3.3-12
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libgd2
jammy
Fixed 2.3.0-2ubuntu1
released
impish
Fixed 2.3.0-2ubuntu1
released
hirsute
Fixed 2.3.0-2ubuntu0.1
released
focal
Fixed 2.2.5-5.2ubuntu2.1
released
bionic
Fixed 2.2.5-4ubuntu0.5
released
xenial
Fixed 2.1.1-4ubuntu0.16.04.12+esm1
released
trusty
Fixed 2.1.0-3ubuntu0.11+esm2
released
php5
jammy
dne
impish
dne
hirsute
dne
focal
dne
bionic
dne
xenial
dne
trusty
not-affected
php7.0
jammy
dne
impish
dne
hirsute
dne
focal
dne
bionic
dne
xenial
not-affected
trusty
dne
php7.2
jammy
dne
impish
dne
hirsute
dne
focal
dne
bionic
not-affected
xenial
dne
trusty
dne
php7.3
jammy
dne
impish
dne
hirsute
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne