← Database

CVE-2021-40145

HIGH CVSS: 7.5 Published: 2021-08-26 Modified: 2026-06-17

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 Platforms

Libgd Libgd

Weakness Type

CWE-415

References