{"id":"CVE-2021-40812","aliases":["CVE-2021-40812"],"related":[],"kind":"vulnerability","state":"published","title":"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 val…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"GD Graphics Library (también se conoce como LibGD) versiones hasta 2.3.2, presenta una lectura fuera de límites debido a una falta de ciertas comprobaciones de los valores de retorno de gdGetBuf y gdPutBuf","source":"nvd"}],"published":"2021-09-08T00:00:00.000Z","modified":"2026-06-17T04:07:28.177Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.3.2"}],"vendor":"libgd","product":"libgd","cpe":"cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libgd/libgd/issues/750#issuecomment-914872385","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-30T16:15:07.401Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-40812","url":"https://www.cve.org/CVERecord?id=CVE-2021-40812","licence":"CVE Terms of Use","modified":"2024-10-29T13:45:44.111Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-40812","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40812","licence":"Public domain","modified":"2026-06-17T04:07:28.177Z"}],"updatedAt":"2026-11-25T22:58:03.814Z","epss":{"score":0.01386,"percentile":0.73025,"date":"2026-12-01T12:00:22.000Z"}}