Home / mailingsPDF  

[USN-7825-1] MuPDF vulnerabilities

Posted on 17 October 2025
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-7825-1
October 16, 2025

mupdf vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

Several security issues were fixed in MuPDF.

Software Description:
- mupdf: A lightweight open source software framework for viewing and converting PDF, XPS, and E-book documents

Details:

It was discovered that MuPDF incorrectly managed memory, resulting in a
memory leak. An attacker could possibly use this issue to cause a denial
of service. This issue only affected Ubuntu 18.04 LTS. (CVE-2018-1000036)

It was discovered that MuPDF could enter an infinite loop when parsing
certain PDF files. An attacker could possibly use this issue to cause a
denial of service. This issue only affected Ubuntu 18.04 LTS.
(CVE-2018-10289)

It was discovered that MuPDF incorrectly managed memory, possibly leading
to a segmentation fault. An attacker could possibly use this issue to
cause a denial of service. This issue only affected Ubuntu 18.04 LTS.
(CVE-2018-16647, CVE-2018-16648)

It was discovered that MuPDF contained a use-after-free vulnerability.
An attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
(CVE-2020-21896)

It was discovered that MuPDF incorrectly managed memory, resulting in a
memory leak. An attacker could possibly use this issue to cause a denial
of service or obtain sensitive information. This issue only affected
Ubuntu 20.04 LTS. (CVE-2020-26683)

Maxim Mishechkin, Vitalii Akolzin, Shamil Kurmangaleev, Denis Straghkov,
Fedor Nis'kov and Ivan Gulakov discovered that MuPDF incorrectly managed
memory under certain circumstances, leading to a double-free. An attacker
could possibly use this to cause a denial of service. This issue only
affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
(CVE-2021-3407)

Xuwei Liu discovered that MuPDF may perform an out-of-bounds write under
certain circumstances. An attacker could possibly use this issue to cause
a denial of service. This issue only affected Ubuntu 18.04 LTS and Ubuntu
20.04 LTS. (CVE-2021-37220)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 20.04 LTS
libmupdf-dev 1.16.1+ds1-1ubuntu1+esm1
Available with Ubuntu Pro
mupdf 1.16.1+ds1-1ubuntu1+esm1
Available with Ubuntu Pro
mupdf-tools 1.16.1+ds1-1ubuntu1+esm1
Available with Ubuntu Pro

Ubuntu 18.04 LTS
libmupdf-dev 1.12.0+ds1-1ubuntu0.1~esm1
Available with Ubuntu Pro
mupdf 1.12.0+ds1-1ubuntu0.1~esm1
Available with Ubuntu Pro
mupdf-tools 1.12.0+ds1-1ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 16.04 LTS
libmupdf-dev 1.7a-1ubuntu0.1~esm1
Available with Ubuntu Pro
mupdf 1.7a-1ubuntu0.1~esm1
Available with Ubuntu Pro
mupdf-tools 1.7a-1ubuntu0.1~esm1
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-7825-1
CVE-2018-1000036, CVE-2018-10289, CVE-2018-16647, CVE-2018-16648,
CVE-2020-21896, CVE-2020-26683, CVE-2021-3407, CVE-2021-37220

--===============4695436731291014090==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP