Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libgd | Libgd | <= 2.3.2 |
Related Weaknesses (CWE)
References
- https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9PatchThird Party Advisory
- https://github.com/libgd/libgd/issues/750#issuecomment-914872385PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html
- https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9PatchThird Party Advisory
- https://github.com/libgd/libgd/issues/750#issuecomment-914872385PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html
FAQ
What is CVE-2021-40812?
CVE-2021-40812 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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.
How severe is CVE-2021-40812?
CVE-2021-40812 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-40812?
Check the references section above for vendor advisories and patch information. Affected products include: Libgd Libgd.