CVE-2021-37220: artifex mupdf Out-of-bounds Write
Vulnerability summary
CVE-2021-37220 is a medium (CVSS 5.5) Out-of-bounds Write vulnerability in artifex mupdf. EPSS estimates a 1.33% chance of exploitation in the next 30 days, higher than 72% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 21-07-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.33%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.33% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugs.ghostscript.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Artifex1 product
- mupdf≤ 1.18.1
Debian1 product
- mupdf< 1.17.0+ds1-2
Fedoraproject1 product
- fedoraEOL34
Ubuntu1 product
- mupdfAll versions (No fix recorded) | < 1.12.0+ds1-1ubuntu0.1~esm1 | < 1.16.1+ds1-1ubuntu1+esm1
4 vendors · 4 products