VDB

ALPINE-CVE-2021-40145

ALPINE-CVE-2021-40145 PUBLISHED CVSS 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 be regarded as being obsolete, and should only be used for development and testing purposes.

Risk Scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
Alpine:v3.12gd2.0.36_rc1-r0, 2.0.35-r0, 0
Alpine:v3.17gd2.0.35-r1, 2.0.35-r2, 2.0.36_rc1-r0
Alpine:v3.19gd2.3.0-r0, 0, 2.0.35-r0
Alpine:v3.16gd2.0.35-r0, 0, 0
Alpine:v3.15gd2.0.35-r2, 0, 2.3.0-r0
Alpine:v3.23gd0, 0, 2.0.35-r0
Alpine:v3.24gd0
Alpine:v3.14gd2.3.0-r0, 0, 0
Alpinegd
Alpine:v3.11gd2.2.5-r2, 2.2.5-r1, 2.2.5-r0
Alpine:v3.22gd2.2.1-r0, 0, 2.0.35-r0
Alpine:v3.21gd0, 0, 2.3.0-r0
Alpine:v3.13gd0, 2.3.0-r0, 2.2.5-r2
Alpine:v3.20gd0, 2.3.0-r0, 2.2.5-r2
Alpine:v3.18gd0, 2.3.0-r0, 2.2.5-r2

Timeline

  • Aug 26, 2021 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jun 15, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›