UBUNTU-CVE-2021-37220

Source
https://ubuntu.com/security/CVE-2021-37220
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-37220.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-37220
Upstream
Downstream
Related
Published
2021-07-21T22:15:00Z
Modified
2025-10-17T16:56:22Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / mupdf

Package

Name
mupdf
Purl
pkg:deb/ubuntu/mupdf@1.7a-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.7-1
1.7a-1
1.7a-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libmupdf-dev",
            "binary_version": "1.7a-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "mupdf",
            "binary_version": "1.7a-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "mupdf-tools",
            "binary_version": "1.7a-1ubuntu0.1~esm1"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / mupdf

Package

Name
mupdf
Purl
pkg:deb/ubuntu/mupdf@1.12.0+ds1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.0+ds1-1ubuntu0.1~esm1

Affected versions

1.*

1.11+ds1-1.1
1.11+ds1-2
1.12.0+ds1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libmupdf-dev",
            "binary_version": "1.12.0+ds1-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "mupdf",
            "binary_version": "1.12.0+ds1-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "mupdf-tools",
            "binary_version": "1.12.0+ds1-1ubuntu0.1~esm1"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Ubuntu:Pro:20.04:LTS / mupdf

Package

Name
mupdf
Purl
pkg:deb/ubuntu/mupdf@1.16.1+ds1-1ubuntu1+esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.16.1+ds1-1ubuntu1+esm1

Affected versions

1.*

1.15.0+ds1-1
1.16.1+ds1-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libmupdf-dev",
            "binary_version": "1.16.1+ds1-1ubuntu1+esm1"
        },
        {
            "binary_name": "mupdf",
            "binary_version": "1.16.1+ds1-1ubuntu1+esm1"
        },
        {
            "binary_name": "mupdf-tools",
            "binary_version": "1.16.1+ds1-1ubuntu1+esm1"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}