CVEvulnerability
CVE-2021-40145
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-08-26
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-415
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.
Affected configurations
• libgd libgd (<= 2.3.2)
Related
Weakness · CWE (1)
- CWE-415 Double Free weakness
References
- https://github.com/libgd/libgd/commit/c5fd25ce0e48fd5618a972ca9f5e28d6d62006af Patch, Third Party Advisory
- https://github.com/libgd/libgd/issues/700 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/libgd/libgd/pull/713 Issue Tracking, Third Party Advisory
- https://github.com/libgd/libgd/commit/c5fd25ce0e48fd5618a972ca9f5e28d6d62006af Patch, Third Party Advisory
- https://github.com/libgd/libgd/issues/700 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/libgd/libgd/pull/713 Issue Tracking, Third Party Advisory