Live threats

All CVEs / Libgd

CVE-2021-38115Libgd

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Aug 4, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

read_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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libgd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libgdlibgd≤ 2.3.2

Official sources

References

Links published by the sources. Open them with care.