CVE & CISA-KEV Catalog

CVE-2021-40145

HIGHEPSS 79th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
libgd2Debian
Fixed in:2.3.0-2+deb11u1CVE-2021-40145
Fixed in:2.3.3-1CVE-2021-40145
Fixed in:2.3.3-1CVE-2021-40145
Fixed in:2.3.3-1CVE-2021-40145
libgd2Ubuntu
Fixed in:2.1.0-3ubuntu0.11+esm2USN-5068-1
Fixed in:2.1.1-4ubuntu0.16.04.12+esm1USN-5068-1
Fixed in:2.2.5-4ubuntu0.5USN-5068-1
Fixed in:2.2.5-5.2ubuntu2.1USN-5068-1
libgd3Ubuntu
Fixed in:2.1.0-3ubuntu0.11+esm2USN-5068-1
Fixed in:2.1.1-4ubuntu0.16.04.12+esm1USN-5068-1
Fixed in:2.2.5-4ubuntu0.5USN-5068-1
Fixed in:2.2.5-5.2ubuntu2.1USN-5068-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

2.05%probability of exploitation in 30 days
79thpercentile

Elevated risk: more likely to be exploited than 79% of all known CVEs.

References

Exploit1
Third-Party Advisory1

Related Vulnerabilities

Other CWE-415 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-25136Medium6.590%-Fix
CVE-2018-0101Critical10.087%-Fix
CVE-2003-0545Critical9.885%-Fix
CVE-2019-3829Medium5.359%-Fix
CVE-2026-33824Critical9.856%-Fix
CVE-2021-3407Medium5.550%-Fix
Embed a live status badge for CVE-2021-40145
CVE-2021-40145 severity badge

Markdown

[![CVE-2021-40145](https://tridentstack.com/cve/badge/CVE-2021-40145.svg)](https://tridentstack.com/cve/CVE-2021-40145)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-40145"><img src="https://tridentstack.com/cve/badge/CVE-2021-40145.svg" alt="CVE-2021-40145"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.