Search for vulnerabilities
Vulnerability details: VCID-nvdw-mb2f-wuhp
Vulnerability ID VCID-nvdw-mb2f-wuhp
Aliases CVE-2021-40145
Summary 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.
Status Disputed
Exploitability 0.5
Weighted Severity 6.8
Risk 3.4
Affected and Fixed Packages Package Details
Weaknesses (1)
System Score Found at
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
epss 0.00594 https://api.first.org/data/v1/epss?cve=CVE-2021-40145
cvssv2 5.0 https://nvd.nist.gov/vuln/detail/CVE-2021-40145
cvssv3.1 7.5 https://nvd.nist.gov/vuln/detail/CVE-2021-40145
archlinux Medium https://security.archlinux.org/AVG-2258
No exploits are available.
Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2021-40145
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-40145
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.68308
EPSS Score 0.00594
Published At July 30, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T20:09:54.965706+00:00 NVD CVE Status Improver Improve https://cveawg.mitre.org/api/cve/CVE-2021-40145 37.0.0
2025-07-31T08:30:42.724048+00:00 Alpine Linux Importer Import https://secdb.alpinelinux.org/v3.15/main.json 37.0.0