CVE-2021-28278 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-28278?
CVE-2021-28278 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 vulnerability exists in jhead 3.04 and 3.05 via the RemoveSectionType function in jpgfile.c.
Weakness: CWE-787
Which versions are affected by CVE-2021-28278?
It affects 1 product.
Products include Jhead Project Jhead.
How do I fix CVE-2021-28278?
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-28278 being exploited?
There is no known exploitation of CVE-2021-28278 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2021-28278, GHSA-cf7f-2rx6-pw73, UBUNTU-CVE-2021-28278.