Vulnerability record · CVE-2021-40812 · published 8 September 2021
CVE-2021-40812: Libgd out-of-bounds read vulnerability
Libgd · Libgd
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.
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:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9 | PatchThird Party Advisory |
| https://github.com/libgd/libgd/issues/750#issuecomment-914872385 | PatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html | |
| https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9 | PatchThird Party Advisory |
| https://github.com/libgd/libgd/issues/750#issuecomment-914872385 | PatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html |
Track CVE-2021-40812 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-40812), CISA KEV, FIRST EPSS (scores of 2026-11-14). This page is refreshed as NVD updates the record.