High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-5991
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:00 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-5991
Complete source record
{
"id": "009182eb20a7172bad6ab14074ecb1a1257a7f466c60c16254a85cbf12700606",
"url": "https://osv.dev/vulnerability/CVE-2017-5991",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-5991",
"summary": "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.",
"evidence": "osv:CVE-2017-5991",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-5991",
"aliases": [
"CVE-2017-5991"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/artifexsoftware/mupdf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "34e18d127a02146e3415b33c4b67389ce1ddb614"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.11"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.11-rc1",
"1.10",
"1.10-rc2",
"1.10-rc1",
"1.9a",
"1.9",
"1.9-rc2",
"1.9-rc1",
"1.8",
"1.7a",
"1.7",
"1.7-rc1",
"1.6-appstore",
"1.6-ios-rc2",
"1.6-ios-rc1",
"android-release-60",
"1.6",
"1.5-ios-rc8",
"1.5-ios-appstore",
"1.5-ios-rc7",
"1.5-ios-rc6",
"1.5-ios",
"1.5",
"1.4-ios",
"1.4",
"1.3rc1",
"1.2",
"1.1-forms-tech-preview",
"1.0",
"1.0rc1",
"0.9",
"0.8",
"0.7",
"0.6",
"0.5",
"0.4",
"0.3",
"0.2",
"0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5991.json",
"vanir_signatures": [
{
"id": "CVE-2017-5991-03bb9f12",
"digest": {
"length": 1818,
"function_hash": "169602091508112698605693186521903319646"
},
"source": "https://github.com/artifexsoftware/mupdf/commit/34e18d127a02146e3415b33c4b67389ce1ddb614",
"target": {
"file": "source/fitz/load-jpx.c",
"function": "jpx_write"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2017-5991-0bed08d1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"318860727090285113648312207569983170359",
"96587218374524127876893852068544087381",
"96145446815683841002064726214889884036",
"110478489815287545782199772552579966714",
"178912095946278086291051989619566937041",
"194521173791012311601904013145805084190",
"186413022840639376279780909256434359575",
"282456049897422787806059787075892147763",
"192548486089043377665532798273898707572",
"331919289920361208014131993984457763613",
"8555470794948426582696504798510362512",
"213298969081480980520396268616438498261",
"247765199926672069116174025769827847608"
]
},
"source": "https://github.com/artifexsoftware/mupdf/commit/34e18d127a02146e3415b33c4b67389ce1ddb614",
"target": {
"file": "source/fitz/load-jpx.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2017-5991-3325bc74",
"digest": {
"length": 6489,
"function_hash": "203418021825365503310582627681356394434"
},
"source": "https://github.com/artifexsoftware/mupdf/commit/34e18d127a02146e3415b33c4b67389ce1ddb614",
"target": {
"file": "source/fitz/load-jpx.c",
"function": "jpx_read_image"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-24T14:02:31Z"
}
}
],
"modified": "2026-10-24T14:02:31.354683366Z",
"provider": "osv",
"references": [
"https://security.gentoo.org/glsa/201706-08",
"https://bugs.ghostscript.com/show_bug.cgi?id=697500",
"https://www.exploit-db.com/exploits/42138/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2017-5991",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 442748,
"published_at": "2017-02-15T06:59:00.917+00:00"
}