CVE-2021-40145

medium
Published — · Modified —
CVSS v3
CVSS v4 NEW
not yet in upstream
VIR risk
5.5

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

✚ Propose a mitigation on Community → Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

arch Arch Fixed 1 release
VersionStatusFixed in
Fixed 2.3.3-1
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 2.3.3-1
sid Fixed 2.3.3-1
forky Fixed 2.3.3-1
bullseye Fixed 2.3.0-2+deb11u1
bookworm Fixed 2.3.3-1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.