Every CVE Search/ Get API key

CVE-2021-3407

A flaw was found in mupdf 1.18.0. Double free of object during linearization may lead to memory...

5.5 MediumFix available

A flaw was found in mupdf 1.18.0. Double free of object during linearization may lead to memory corruption and other potential consequences.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

50.2%Up 49.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

A flaw was found in mupdf 1.18.0. Double free of object during linearization may lead to memory corruption and other potential consequences.

Record
CVE-2021-3407
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-415
Updated
2026-11-02
CVE List 7.8

A flaw was found in mupdf 1.18.0. Double free of object during linearization may lead to memory corruption and other potential consequences.

Record
CVE-2021-3407
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-415
Updated
2026-11-02
EUVDEUVD-2021-26735 7.8

A flaw was found in mupdf 1.18.0. Double free of object during linearization may lead to memory corruption and other potential consequences.

Record
EUVD-2021-26735
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-5qxg-m35q-xr56 5.5

A flaw was found in mupdf 1.18.0. Double free of object during linearization may lead to memory...

A flaw was found in mupdf 1.18.0. Double free of object during linearization may lead to memory corruption and other potential consequences.

Record
GHSA-5qxg-m35q-xr56
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-119, CWE-415
Updated
2026-11-02
OSVALPINE-CVE-2021-3407 5.5

A flaw was found in mupdf 1.18.0. Double free of object during linearization may lead to memory corruption and other potential consequences.

Record
ALPINE-CVE-2021-3407
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSV 5.5

A flaw was found in mupdf 1.18.0. Double free of object during linearization may lead to memory corruption and other potential consequences.

Record
CVE-2021-3407
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-3407 5.5

A flaw was found in mupdf 1.18.0. Double free of object during linearization may lead to memory corruption and other potential consequences.

Record
DEBIAN-CVE-2021-3407
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-3407 7.8

A flaw was found in mupdf 1.18.0. Double free of object during linearization may lead to memory corruption and other potential consequences.

Record
UBUNTU-CVE-2021-3407
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUSN-7825-1 No score

mupdf vulnerabilities

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)

Record
USN-7825-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mupdf
Alpine:v3.13
before 1.18.0-r1
1.18.0-r1
mupdf
Alpine:v3.14
before 1.18.0-r1
1.18.0-r1
mupdf
Alpine:v3.15
before 1.18.0-r1
1.18.0-r1
mupdf
Alpine:v3.16
before 1.18.0-r1
1.18.0-r1
mupdf
Alpine:v3.17
before 1.18.0-r1
1.18.0-r1
mupdf
Alpine:v3.18
before 1.18.0-r1
1.18.0-r1
mupdf
Alpine:v3.19
before 1.18.0-r1
1.18.0-r1
mupdf
Alpine:v3.20
before 1.18.0-r1
1.18.0-r1
mupdf
Alpine:v3.21
before 1.18.0-r1
1.18.0-r1
mupdf
Alpine:v3.22
before 1.18.0-r1
1.18.0-r1
Show 12 moreShow less
Affected packages
PackageAffectedFixed
mupdf
Alpine:v3.23
before 1.18.0-r1
1.18.0-r1
mupdf
Alpine:v3.24
before 1.18.0-r1
1.18.0-r1
mupdf
Debian:12
before 1.17.0+ds1-1.3
1.17.0+ds1-1.3
mupdf
Debian:13
before 1.17.0+ds1-1.3
1.17.0+ds1-1.3
mupdf
Debian:14
before 1.17.0+ds1-1.3
1.17.0+ds1-1.3
mupdf
Debian:9
From an advisory covering 2 CVEs
before 1.9a+ds1-4+deb9u6, plus listed versions
1.9a+ds1-41.9a+ds1-4+deb9u11.9a+ds1-4+deb9u21.9a+ds1-4+deb9u31.9a+ds1-4+deb9u41.9a+ds1-4+deb9u5
1.9a+ds1-4+deb9u6
mupdf
Ubuntu:Pro:16.04:LTS
before 1.7a-1ubuntu0.1~esm1, plus listed versions
1.7-11.7a-1
1.7a-1ubuntu0.1~esm1
mupdf
Ubuntu:Pro:18.04:LTS
before 1.12.0+ds1-1ubuntu0.1~esm1, plus listed versions
1.11+ds1-1.11.11+ds1-21.12.0+ds1-1
1.12.0+ds1-1ubuntu0.1~esm1
mupdf
Ubuntu:Pro:20.04:LTS
before 1.16.1+ds1-1ubuntu1+esm1, plus listed versions
1.15.0+ds1-11.16.1+ds1-1ubuntu1
1.16.1+ds1-1ubuntu1+esm1
mupdf
Ubuntu:Pro:16.04:LTS
From an advisory covering 8 CVEs
before 1.7a-1ubuntu0.1~esm1, plus listed versions
1.7-11.7a-1
1.7a-1ubuntu0.1~esm1
mupdf
Ubuntu:Pro:18.04:LTS
From an advisory covering 8 CVEs
before 1.12.0+ds1-1ubuntu0.1~esm1, plus listed versions
1.11+ds1-1.11.11+ds1-21.12.0+ds1-1
1.12.0+ds1-1ubuntu0.1~esm1
mupdf
Ubuntu:Pro:20.04:LTS
From an advisory covering 8 CVEs
before 1.16.1+ds1-1ubuntu1+esm1, plus listed versions
1.15.0+ds1-11.16.1+ds1-1ubuntu1
1.16.1+ds1-1ubuntu1+esm1

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3407 is a medium vulnerability (CVSS 5.5) in Artifex Mupdf, published February 23, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 50.2%, the 98th percentile. Fixed in mupdf 1.18.0-r1.

References

Show 19 moreShow less
MoveEnter Open