Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libgd | Libgd | <= 2.3.2 |
Related Weaknesses (CWE)
References
- https://github.com/libgd/libgd/commit/c5fd25ce0e48fd5618a972ca9f5e28d6d62006afPatchThird Party Advisory
- https://github.com/libgd/libgd/issues/700ExploitIssue TrackingThird Party Advisory
- https://github.com/libgd/libgd/pull/713Issue TrackingThird Party Advisory
- https://github.com/libgd/libgd/commit/c5fd25ce0e48fd5618a972ca9f5e28d6d62006afPatchThird Party Advisory
- https://github.com/libgd/libgd/issues/700ExploitIssue TrackingThird Party Advisory
- https://github.com/libgd/libgd/pull/713Issue TrackingThird Party Advisory
FAQ
What is CVE-2021-40145?
CVE-2021-40145 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2021-40145?
CVE-2021-40145 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-40145?
Check the references section above for vendor advisories and patch information. Affected products include: Libgd Libgd.