CVE-2021-40145
HIGH7.5EPSS 0.59%Published: 8/26/2021Modified: 4/28/2026
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 packages (2)
- Alpine/gdfrom 0, < 2.2.5-r4
- Debian/libgd2from 0, < 2.3.0-2+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |