CVE-2021-38115 Denial of service in n/a

Medium 6.5 Published Updated

Remote attackers can cause a denial of service via out-of-bounds read in LibGD when processing crafted TGA files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-38115?

CVE-2021-38115 is a medium-severity denial of service vulnerability in n/a, published on 4 Aug 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2021-38115?

It affects 1 product.

Products include Libgd Libgd.

How do I fix CVE-2021-38115?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-38115 being exploited?

There is no known exploitation of CVE-2021-38115 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2021-38115, AZL-6431, CLSA-2026-1777301041, DEBIAN-CVE-2021-38115, GHSA-26x8-wc99-6x99, JLSEC-2026-360 and 2 more.

Is CVE-2021-38115 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free