CVE-2021-3575 Memory corruption in OpenJPEG
Heap-based buffer overflow in OpenJPEG allows arbitrary code execution via crafted .j2k 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-3575?
CVE-2021-3575 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 4 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 was found in openjpeg in color.c:379:42 in sycc420_to_rgb when decompressing a crafted .j2k file. An attacker could use this to execute arbitrary code with the permissions of the application compiled against openjpeg.
Weakness: CWE-787
Which versions are affected by CVE-2021-3575?
It affects 3 products.
Products include Fedoraproject Fedora, Redhat Enterprise Linux, Uclouvain Openjpeg.
How do I fix CVE-2021-3575?
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-3575 being exploited?
There is no known exploitation of CVE-2021-3575 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2021-3575, AZL-44643, CLSA-2026-1787588007, DEBIAN-CVE-2021-3575, GHSA-j3vw-4g3g-wvjc, JLSEC-2026-546 and 3 more.