What’s Vulnerable › Vulnerabilities
CVE-2021-40812
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-09-08 · updated 2026-06-17
- Weakness: CWE-125
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.
Affected products
- Libgd: through 2.3.2
References
- https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9
- https://github.com/libgd/libgd/issues/750#issuecomment-914872385
- https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html
- https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9
- https://github.com/libgd/libgd/issues/750#issuecomment-914872385
- https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html
Get alerted when CVE-2021-40812 or the next vulnerability affects your stack