CVE-2021-37789 Memory corruption in n/a

High 8.1 Published Updated

A heap-based buffer overflow in the stb_image library allows attackers to disclose sensitive information or cause a denial of service.

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-37789?

CVE-2021-37789 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 2 Nov 2022. 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

stb_image.h 2.27 has a heap-based buffer over in stbi__jpeg_load, leading to Information Disclosure or Denial of Service.

Weakness: CWE-787

Which versions are affected by CVE-2021-37789?

It affects 2 products.

Products include Debian Debian Linux, Stb Project Stb.

How do I fix CVE-2021-37789?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-37789 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-37789, GHSA-3fjh-5fm6-fqmw, UBUNTU-CVE-2021-37789.

Is CVE-2021-37789 in your software?

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

Check your SBOMs for free