Bug 1537951 (CVE-2017-17858)

Summary: CVE-2017-17858 mupdf: Heap-based buffer overflow in pdf/pdf-xref.c:ensure_solid_xref() could allow an attacker to execute arbitrary code via a crafted PDF file
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mjg
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:38:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1537952    
Bug Blocks:    

Description Sam Fowler 2018-01-24 07:23:27 UTC
Heap-based buffer overflow in the ensure_solid_xref function in pdf/pdf-xref.c in Artifex MuPDF 1.12.0 allows a remote attacker to potentially execute arbitrary code via a crafted PDF file, because xref subsection object numbers are unrestricted.

External References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-17858
https://github.com/mzet-/Security-Advisories/blob/master/mzet-adv-2017-01.md

Upstream Issue:
https://bugs.ghostscript.com/show_bug.cgi?id=698819

Upstream Patch:
https://build.opensuse.org/request/show/568499

Comment 1 Sam Fowler 2018-01-24 07:23:45 UTC
Created mupdf tracking bugs for this issue:

Affects: fedora-all [bug 1537952]

Comment 2 Product Security DevOps Team 2019-06-08 03:38:11 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.