{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-40812","published":"2021-09-08T21:15:14.083000Z","last_modified":"2026-06-17T04:07:28.177000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-125"],"cpes":[{"criteria":"cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:*","part":"a","vendor":"libgd","product":"libgd","version_end_including":"2.3.2"}],"cpes_truncated":false,"vendors":["libgd"],"products":["libgd/libgd"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01386,"percentile":0.72424,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2021-40812/","html_en":"/en/cve/CVE-2021-40812/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-40812","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-40812"},"untrusted":{"vendor_name":"Libgd","product_name":"Libgd","desc_en":"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":[],"references":[{"url":"https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/libgd/libgd/issues/750#issuecomment-914872385","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html","tags":[]}]}}