CVE-2021-28021 Memory corruption in n/a
A buffer overflow in the stb image library allows attackers to execute arbitrary code or cause denial of service via a crafted JPEG file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-28021?
CVE-2021-28021 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 15 Oct 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Buffer overflow vulnerability in function stbi__extend_receive in stb_image.h in stb 2.26 via a crafted JPEG file.
Weakness: CWE-787
Which versions are affected by CVE-2021-28021?
It affects 3 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Stb Project Stb.
How do I fix CVE-2021-28021?
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-28021 being exploited?
There is no known exploitation of CVE-2021-28021 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2021-28021, GHSA-w9gr-856x-c2gv, UBUNTU-CVE-2021-28021.