CVE-2021-40145: Double Free
DISPUTED gdImageGd2Ptr in gdgd2.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."
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/gdto a version that resolves this vulnerability.Fixed in 2.2.5-r4 - Upgrade
Upgrade
alpine/gdto a version that resolves this vulnerability.Fixed in 2.3.0-r1
Event History
Frequently Asked Questions
What is CVE-2021-40145?
CVE-2021-40145 is a vulnerability in the GD Graphics Library (LibGD) through version 2.3.2 that allows for a double free.
What is the severity of CVE-2021-40145?
CVE-2021-40145 has a severity of 7.5 (high).
How does CVE-2021-40145 affect software?
CVE-2021-40145 affects LibGD version 2.3.2.
Is there a fix for CVE-2021-40145?
Yes, a fix for CVE-2021-40145 is available.
Where can I find more information about CVE-2021-40145?
More information about CVE-2021-40145 can be found at the following references: [link1], [link2], [link3].