CVE-2021-40812

Summary

CVECVE-2021-40812
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-09-08 21:15:00 UTC
Updated2021-09-15 15:07:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-125

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Libgd Libgd All All All All

References

ReferenceSourceLinkTags
Merge pull request #755 from libgd/bug/750 · libgd/libgd@6f51368 · GitHub MISC github.com
gdPutBuf return value check · Issue #750 · libgd/libgd · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 184557 Debian Security Update for libgd2 (CVE-2021-40812)
  • 296061 Oracle Solaris 11.4 Support Repository Update (SRU) 42.113.1 Missing (CPUJAN2022)
  • 6000559 Debian Security Update for libgd2 (DLA 3781-1)
  • 671145 EulerOS Security Update for gd (EulerOS-SA-2021-2800)
  • 671217 EulerOS Security Update for gd (EulerOS-SA-2022-1024)
  • 671218 EulerOS Security Update for gd (EulerOS-SA-2022-1004)
  • 671327 EulerOS Security Update for gd (EulerOS-SA-2022-1222)
  • 671335 EulerOS Security Update for gd (EulerOS-SA-2022-1203)
  • 751167 SUSE Enterprise Linux Security Update for gd (SUSE-SU-2021:3214-1)
  • 751180 OpenSUSE Security Update for gd (openSUSE-SU-2021:3236-1)
  • 900436 Common Base Linux Mariner (CBL-Mariner) Security Update for gd (6270)
  • 900876 Common Base Linux Mariner (CBL-Mariner) Security Update for gd (6433)
  • 902321 Common Base Linux Mariner (CBL-Mariner) Security Update for gd (6433-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report