VulnerabilityModified
CVE-2021-40145
gdImageGd2Ptr in gd_gd2.c in the GD Graphics Library (aka LibGD) through 2.3.2 has a double free.
HIGH 7.5EPSS 2.05%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.05%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 2.05% probability · 80th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-415
- Affected
- libgd/libgd
- Source
- cve@mitre.org
References
- https://github.com/libgd/libgd/commit/c5fd25ce0e48fd5618a972ca9f5e28d6d62006afPatch, Third Party Advisory
- https://github.com/libgd/libgd/issues/700Exploit, Issue Tracking, Third Party Advisory
- https://github.com/libgd/libgd/pull/713Issue Tracking, Third Party Advisory
- https://github.com/libgd/libgd/commit/c5fd25ce0e48fd5618a972ca9f5e28d6d62006afPatch, Third Party Advisory
- https://github.com/libgd/libgd/issues/700Exploit, Issue Tracking, Third Party Advisory
- https://github.com/libgd/libgd/pull/713Issue Tracking, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.