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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mupdf | 1.17.0+ds1-2 | — |
| Debian 13 | mupdf | 1.17.0+ds1-2 | — |
| Debian 12 | mupdf | 1.17.0+ds1-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | mupdf | 1.16.1+ds1-1ubuntu1+esm1 | USN-7825-1 |
| Ubuntu Pro 18.04 LTS | mupdf | 1.12.0+ds1-1ubuntu0.1~esm1 | USN-7825-1 |
| Ubuntu Pro 16.04 LTS | mupdf | 1.7a-1ubuntu0.1~esm1 | USN-7825-1 |
Advisories 1
- USN-7825-1 mupdf vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026