CVE-2021-4216

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-4216
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-4216.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-4216
Downstream
Related
Published
2022-08-26T16:15:09.820Z
Modified
2025-11-14T12:31:34.664137Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A Floating point exception (division-by-zero) flaw was found in Mupdf for zero width pages in muraster.c. It is fixed in Mupdf-1.20.0-rc1 upstream.

References

Affected packages

Git / github.com/artifexsoftware/mupdf

Affected ranges

Type
GIT
Repo
https://github.com/artifexsoftware/mupdf
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9

1.*

1.0
1.0rc1
1.1
1.1-forms-tech-preview
1.10
1.10-rc1
1.10-rc2
1.11
1.11-rc1
1.11.1
1.12.0
1.13.0
1.13.0-rc1
1.14.0
1.14.0-rc1
1.15.0
1.15.0-rc1
1.16.0
1.16.0-rc1
1.16.0-rc2
1.16.1
1.16.1-epub-prerelease
1.17.0
1.17.0-rc1
1.18.0
1.18.0-rc1
1.18.1-so-3.12.1-android
1.18.1-so-3.12.1-ios
1.18.1-so-3.12.2b1-android
1.18.1-so-3.12.2b1-ios
1.18.1-so-3.12.4
1.18.1-so-3.12.6
1.19.0-rc1
1.19.0-rc1-so-3.12.7
1.2
1.3
1.3rc1
1.4
1.4-ios
1.5
1.5-ios
1.5-ios-appstore
1.5-ios-rc6
1.5-ios-rc7
1.5-ios-rc8
1.6
1.6-appstore
1.6-ios-rc1
1.6-ios-rc2
1.7
1.7-rc1
1.7a
1.8
1.9
1.9-rc1
1.9-rc2
1.9a

Other

android-release-60

Database specific

vanir_signatures

[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "148428731875479396939769254416903401659",
                "334154895119732715934329687386372964908",
                "271578754670549623668636309170831988566",
                "183537282055440426407130261521748130023",
                "21263257204605018599019492831581804131"
            ]
        },
        "id": "CVE-2021-4216-3487da7d",
        "signature_type": "Line",
        "source": "https://github.com/artifexsoftware/mupdf/commit/22c47acbd52949421f8c7cb46ea1556827d0fcbf",
        "target": {
            "file": "source/tools/muraster.c"
        },
        "signature_version": "v1",
        "deprecated": false
    },
    {
        "digest": {
            "length": 1679.0,
            "function_hash": "21006412885745212366555215011289400705"
        },
        "id": "CVE-2021-4216-53f23848",
        "signature_type": "Function",
        "source": "https://github.com/artifexsoftware/mupdf/commit/22c47acbd52949421f8c7cb46ea1556827d0fcbf",
        "target": {
            "function": "initialise_banding",
            "file": "source/tools/muraster.c"
        },
        "signature_version": "v1",
        "deprecated": false
    }
]

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-4216.json"