# CVE-2021-37220

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-07-21 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-37220, DEBIAN-CVE-2021-37220
- Record: https://cvemate.com/vulnerability/CVE-2021-37220 · JSON: https://cvemate.com/vulnerability/CVE-2021-37220/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.331%, percentile 72.057%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- artifex mupdf: ≤ 1.18.1
- debian mupdf (Debian): \< 1.17.0+ds1-2
- ubuntu mupdf (Ubuntu): All versions (No fix recorded) \| \< 1.12.0+ds1-1ubuntu0.1~esm1 \| \< 1.16.1+ds1-1ubuntu1+esm1
- fedoraproject fedora: 34

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=703791>
- <http://git.ghostscript.com/?p=mupdf.git%3Bh=f5712c9949d026e4b891b25837edd2edc166151f>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TKRMREIYUBGG2GV73CU7BJNW2Q34IP23/>
- <https://ubuntu.com/security/CVE-2021-37220>
- <http://git.ghostscript.com/?p=mupdf.git;h=f5712c9949d026e4b891b25837edd2edc166151f>
- <https://www.cve.org/CVERecord?id=CVE-2021-37220>
- <https://ubuntu.com/security/notices/USN-7825-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-37220>

---

Data as of 2026-12-05T10:25:12.252Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
