CVE-2021-38115Libgd
Medium 6.5 No auth needed
Follow: this CVE · Libgd · Libgd We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Libgd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libgd | libgd | ≤ 2.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory
- lists.debian.org