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.
{ "versions": [ { "introduced": "0" }, { "last_affected": "2.3.2" } ] }
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40812.json"