Name | CVE-2021-37220 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 991402 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
mupdf (PTS) | jessie, jessie (lts) | 1.5-1+deb8u6 | vulnerable |
| stretch (security), stretch (lts), stretch | 1.14.0+ds1-4+deb9u1 | fixed |
| buster | 1.14.0+ds1-4+deb10u3 | vulnerable |
| buster (security), buster (lts) | 1.14.0+ds1-4+deb10u2 | vulnerable |
| bullseye | 1.17.0+ds1-2 | fixed |
| bullseye (security) | 1.17.0+ds1-1.3~deb11u1 | vulnerable |
| bookworm | 1.21.1+ds2-1 | fixed |
| sid, trixie | 1.24.10+ds1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
mupdf | source | jessie | (unfixed) | end-of-life | | |
mupdf | source | stretch | (not affected) | | | |
mupdf | source | (unstable) | 1.17.0+ds1-2 | | | 991402 |
Notes
[buster] - mupdf <no-dsa> (Minor issue; can be fixed via point release)
[stretch] - mupdf <not-affected> (Vulnerable code not present)
http://git.ghostscript.com/?p=mupdf.git;h=f5712c9949d026e4b891b25837edd2edc166151f
https://bugs.ghostscript.com/show_bug.cgi?id=703791
On Stretch, an earlier version of the code exits early instead of crashing.