CVE-2021-40145
7.5
HIGH
CVSS 3.1
EPSS 0.59%
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.
How to fix CVE-2021-40145
To remediate CVE-2021-40145, upgrade the affected package to a fixed version below.
- Alpine/gd—upgrade to 2.2.5-r4 or later
- —upgrade to 2.3.0-2+deb11u1 or later
Is CVE-2021-40145 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.2.5-r4
- from 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 |