CVE-2021-38115

Summary

CVECVE-2021-38115
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-08-04 21:15:00 UTC
Updated2021-08-11 19:39:00 UTC
Descriptionread_header_tga in gd_tga.c in the GD Graphics Library (aka LibGD) through 2.3.2 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file.

Risk And Classification

Problem Types: CWE-125

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Libgd Libgd All All All All

References

ReferenceSourceLinkTags
fix read out-of-bounds in reading tga header file by me22bee · Pull Request #711 · libgd/libgd · GitHub MISC github.com
Read out of bound in TGA files · Issue #697 · 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

  • 182099 Debian Security Update for libgd2 (CVE-2021-38115)
  • 198489 Ubuntu Security Notification for GD library Vulnerabilities (USN-5068-1)
  • 296060 Oracle Solaris 11.4 Support Repository Update (SRU) 37.0.1.101.1 Missing (CPUJUL2021)
  • 296061 Oracle Solaris 11.4 Support Repository Update (SRU) 42.113.1 Missing (CPUJAN2022)
  • 500198 Alpine Linux Security Update for gd
  • 503940 Alpine Linux Security Update for gd
  • 6000559 Debian Security Update for libgd2 (DLA 3781-1)
  • 670819 EulerOS Security Update for gd (EulerOS-SA-2021-2708)
  • 671020 EulerOS Security Update for gd (EulerOS-SA-2021-2683)
  • 671022 EulerOS Security Update for gd (EulerOS-SA-2021-2630)
  • 900437 Common Base Linux Mariner (CBL-Mariner) Security Update for gd (6268)
  • 901406 Common Base Linux Mariner (CBL-Mariner) Security Update for gd (6431)
  • 902269 Common Base Linux Mariner (CBL-Mariner) Security Update for gd (6431-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