CVE-2021-28277 Memory corruption in n/a
A heap-based buffer overflow in jhead allows attackers to execute arbitrary code or cause denial of service via crafted JPEG files.
- 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-28277?
CVE-2021-28277 is a high-severity memory corruption vulnerability in n/a, published on 23 Mar 2022. 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
A Heap-based Buffer Overflow vulnerabilty exists in jhead 3.04 and 3.05 is affected by: Buffer Overflow via the RemoveUnknownSections function in jpgfile.c.
Weakness: CWE-787
Which versions are affected by CVE-2021-28277?
It affects 1 product.
Products include Jhead Project Jhead.
How do I fix CVE-2021-28277?
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-28277 being exploited?
There is no known exploitation of CVE-2021-28277 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2021-28277, GHSA-95g4-8wpg-6c5r, UBUNTU-CVE-2021-28277.