| Name | CVE-2021-40812 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-3781-1, DLA-4411-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libgd2 (PTS) | bullseye | 2.3.0-2 | vulnerable |
| bullseye (security) | 2.3.0-2+deb11u1 | fixed |
| bookworm | 2.3.3-9 | fixed |
| forky, sid, trixie | 2.3.3-13 | fixed |
The information below is based on the following data on fixed versions.
Notes
[stretch] - libgd2 <no-dsa> (Minor issue)
https://github.com/libgd/libgd/issues/750#issuecomment-914872385
https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9