CVE-2017-5991

Source
https://cve.org/CVERecord?id=CVE-2017-5991
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5991.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-5991
Downstream
Published
2017-02-15T06:59:00Z
Modified
2026-08-18T11:36:31Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The pdf_run_xobject function in pdf-op-run.c encounters a NULL pointer dereference during a Fitz fz_paint_pixmap_with_mask painting operation. Versions 1.11 and later are unaffected.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "8.0"
                },
                {
                    "last_affected":  "8.0"
                },
                {
                    "introduced":  "9.0"
                },
                {
                    "last_affected":  "9.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        }
    ]
}
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
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "1.11"
        }
    ],
    "source":  "CPE_RANGE"
}

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-forms-tech-preview
1.10
1.10-rc1
1.10-rc2
1.11-rc1
1.2
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

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5991.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "169602091508112698605693186521903319646",
            "length":  1818
        },
        "id":  "CVE-2017-5991-03bb9f12",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/artifexsoftware/mupdf/commit/34e18d127a02146e3415b33c4b67389ce1ddb614",
        "target":  {
            "file":  "source/fitz/load-jpx.c",
            "function":  "jpx_write"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "318860727090285113648312207569983170359",
                "96587218374524127876893852068544087381",
                "96145446815683841002064726214889884036",
                "110478489815287545782199772552579966714",
                "178912095946278086291051989619566937041",
                "194521173791012311601904013145805084190",
                "186413022840639376279780909256434359575",
                "282456049897422787806059787075892147763",
                "192548486089043377665532798273898707572",
                "331919289920361208014131993984457763613",
                "8555470794948426582696504798510362512",
                "213298969081480980520396268616438498261",
                "247765199926672069116174025769827847608"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2017-5991-0bed08d1",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/artifexsoftware/mupdf/commit/34e18d127a02146e3415b33c4b67389ce1ddb614",
        "target":  {
            "file":  "source/fitz/load-jpx.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "203418021825365503310582627681356394434",
            "length":  6489
        },
        "id":  "CVE-2017-5991-3325bc74",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/artifexsoftware/mupdf/commit/34e18d127a02146e3415b33c4b67389ce1ddb614",
        "target":  {
            "file":  "source/fitz/load-jpx.c",
            "function":  "jpx_read_image"
        }
    }
]
vanir_signatures_modified
"2026-08-18T11:36:31Z"