Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-40145

published
Published
26 Aug 2021, 00:34:17 UTC
Updated
04 Aug 2024, 02:27:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Amazon Linux AL2 Release evaluationALAS2-2023-2044 Fixed Not stated Amazon Linux assessment
Alpine Linux edge gd Fixed 2.3.0-r1 Package fix record
Debian bullseye libgd2 Advisory build 2.3.0-2+deb11u1 DLA-4411-1
Ubuntu bionic libgd-tools Advisory build 2.2.5-4ubuntu0.5 USN-5068-1
Amazon Linux AL2 gdaarch64 Listed in advisory Not stated ALAS2-2023-2044
Alpine Linux v3.11 gd Fixed 2.2.5-r4 Package fix record
Alpine Linux v3.12 gd Fixed 2.3.0-r1 Package fix record
Show 26 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.13 gd Fixed 2.3.0-r1 Package fix record
Alpine Linux v3.14 gd Fixed 2.3.0-r1 Package fix record
Alpine Linux v3.15 gd Fixed 2.3.0-r1 Package fix record
Alpine Linux v3.16 gd Fixed 2.3.0-r1 Package fix record
Alpine Linux v3.17 gd Fixed 2.3.0-r1 Package fix record
Alpine Linux v3.18 gd Fixed 2.3.0-r1 Package fix record
Alpine Linux v3.19 gd Fixed 2.3.0-r1 Package fix record
Alpine Linux v3.20 gd Fixed 2.3.0-r1 Package fix record
Alpine Linux v3.21 gd Fixed 2.3.0-r1 Package fix record
Alpine Linux v3.22 gd Fixed 2.3.0-r1 Package fix record
Alpine Linux v3.23 gd Fixed 2.3.0-r1 Package fix record
Alpine Linux v3.24 gd Fixed 2.3.0-r1 Package fix record
Ubuntu bionic libgd2 Advisory build 2.2.5-4ubuntu0.5 USN-5068-1
Ubuntu bionic libgd3 Advisory build 2.2.5-4ubuntu0.5 USN-5068-1
Ubuntu esm libgd-tools Advisory build 2.1.0-3ubuntu0.11+esm2 USN-5068-1
Ubuntu esm libgd2 Advisory build 2.1.0-3ubuntu0.11+esm2 USN-5068-1
Ubuntu esm libgd3 Advisory build 2.1.0-3ubuntu0.11+esm2 USN-5068-1
Ubuntu focal libgd-tools Advisory build 2.2.5-5.2ubuntu2.1 USN-5068-1
Ubuntu focal libgd2 Advisory build 2.2.5-5.2ubuntu2.1 USN-5068-1
Ubuntu focal libgd3 Advisory build 2.2.5-5.2ubuntu2.1 USN-5068-1
Ubuntu xenial libgd-tools Advisory build 2.1.1-4ubuntu0.16.04.12+esm1 USN-5068-1
Ubuntu xenial libgd2 Advisory build 2.1.1-4ubuntu0.16.04.12+esm1 USN-5068-1
Ubuntu xenial libgd3 Advisory build 2.1.1-4ubuntu0.16.04.12+esm1 USN-5068-1
Amazon Linux AL2 gdi686 Listed in advisory Not stated ALAS2-2023-2044
Amazon Linux AL2 gdsrc Listed in advisory Not stated ALAS2-2023-2044
Amazon Linux AL2 gdx86_64 Listed in advisory Not stated ALAS2-2023-2044

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

21

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

3

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
1d705272381134a87a815e1a11e29a54223f3867449bddcc1a3e2d35872f2733
Ingested
23 Sep 2026, 07:55:59 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected