CVE-2021-37220
publishedmupdf: out-of-bounds write because the cached color converter does not properly consider the maximum key size of a hash table
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Ubuntu | bionic | mupdf | Advisory build | 1.12.0+ds1-1ubuntu0.1~esm1 | USN-7825-1 |
| Ubuntu | bionic | mupdf-tools | Advisory build | 1.12.0+ds1-1ubuntu0.1~esm1 | USN-7825-1 |
| Ubuntu | focal | mupdf | Advisory build | 1.16.1+ds1-1ubuntu1+esm1 | USN-7825-1 |
| Ubuntu | focal | mupdf-tools | Advisory build | 1.16.1+ds1-1ubuntu1+esm1 | USN-7825-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
3- http://git.ghostscript.com/?p=mupdf.git%3Bh=f5712c9949d026e4b891b25837edd2edc166151f
- https://bugs.ghostscript.com/show_bug.cgi?id=703791
- FEDORA-2021-e1d8a99caa https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TKRMREIYUBGG2GV73CU7BJNW2Q34IP23/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0e0b9073135277bed6b757448fdf0e29393ef3837177d354a909bbab94a22b25
- Ingested
- 23 Sep 2026, 07:55:13 UTC
- Source record
- Official CVE record