CVE-2021-30498 Memory corruption in libcaca
A heap buffer overflow in libcaca's TGA export function allows attackers to cause memory corruption, potentially leading to code execution or denial of service.
- 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-30498?
CVE-2021-30498 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 26 May 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
A flaw was found in libcaca. A heap buffer overflow in export.c in function export_tga might lead to memory corruption and other potential consequences.
Weakness: CWE-787
Which versions are affected by CVE-2021-30498?
It affects 2 products.
Products include Fedoraproject Fedora, Libcaca Project Libcaca.
How do I fix CVE-2021-30498?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-30498 being exploited?
There is no known exploitation of CVE-2021-30498 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2021-30498, GHSA-hg8v-gh24-gpf4, UBUNTU-CVE-2021-30498.