CVE-2021-37220 Memory corruption in n/a
An out-of-bounds write in MuPDF allows attackers to execute arbitrary code or cause denial of service via crafted input.
- 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-37220?
CVE-2021-37220 is a medium-severity memory corruption vulnerability in Artifex Mupdf, published on 21 Jul 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
MuPDF through 1.18.1 has an out-of-bounds write because the cached color converter does not properly consider the maximum key size of a hash table. This can, for example, be seen with crafted "mutool draw" input.
Weakness: CWE-787
Which versions are affected by CVE-2021-37220?
It affects 2 products.
Products include Artifex Mupdf, Fedoraproject Fedora.
How do I fix CVE-2021-37220?
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-37220 being exploited?
There is no known exploitation of CVE-2021-37220 in the wild and no public exploit code.
Other vulnerabilities in Artifex Mupdf
Sources
Also known as DEBIAN-CVE-2021-37220, GHSA-244v-xghf-wq26, UBUNTU-CVE-2021-37220.