CVE-2021-40812

medium
Published — · Modified —
CVSS v3
CVSS v2
VIR risk
5.5

Description

The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and gdPutBuf return value checks.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-40812

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-40812.html

OS impact

OSVersionStatusFixed in
arch archfixed2.3.3-1
suse slesaffected
debian debianbookwormfixed2.3.3-1
debian debianbullseyefixed2.3.0-2+deb11u1
debian debianforkyfixed2.3.3-1
debian debiansidfixed2.3.3-1
debian debiantrixiefixed2.3.3-1

References

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