<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for mupdf</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2017:3064-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2017-11-23T17:32:28Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2017-11-23T17:32:28Z</InitialReleaseDate>
    <CurrentReleaseDate>2017-11-23T17:32:28Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for mupdf</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for mupdf fixes the following issues:

Security issues fixed:

- CVE-2017-7976: integer overflow (jbig2_image_compose function in jbig2_image.c) during operations on a crafted .jb2 file (boo#1052029).
- CVE-2016-10221: count_entries in pdf-layer.c allows for DoS (boo#1032140).
- CVE-2016-8728: Fitz library font glyph scaling Code Execution Vulnerability (boo#1039850).

Bug fixes:

- Update to version 1.11
  * This is primarily a bug fix release.
  * PDF portfolio support with command line tool 'mutool
    portfolio'.
  * Add callbacks to load fallback fonts from the system.
  * Use system fonts in Android to reduce install size.
  * Flag to disable publisher styles in EPUB layout.
  * Improved SVG output.
- Add reproducible.patch to sort input files to make build reproducible (boo#1041090)
- mupdf is not a terminal app (boo#1036637)
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://lists.opensuse.org/opensuse-updates/2017-11/msg00068.html</URL>
      <Description>E-Mail link for openSUSE-SU-2017:3064-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 42.2">
      <Branch Type="Product Name" Name="openSUSE Leap 42.2">
        <FullProductName ProductID="openSUSE Leap 42.2">openSUSE Leap 42.2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 42.3">
      <Branch Type="Product Name" Name="openSUSE Leap 42.3">
        <FullProductName ProductID="openSUSE Leap 42.3">openSUSE Leap 42.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="mupdf-1.11-16.1">
      <FullProductName ProductID="mupdf-1.11-16.1">mupdf-1.11-16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="mupdf-devel-static-1.11-16.1">
      <FullProductName ProductID="mupdf-devel-static-1.11-16.1">mupdf-devel-static-1.11-16.1</FullProductName>
    </Branch>
    <Relationship ProductReference="mupdf-1.11-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:mupdf-1.11-16.1">mupdf-1.11-16.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="mupdf-devel-static-1.11-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:mupdf-devel-static-1.11-16.1">mupdf-devel-static-1.11-16.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="mupdf-1.11-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:mupdf-1.11-16.1">mupdf-1.11-16.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="mupdf-devel-static-1.11-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:mupdf-devel-static-1.11-16.1">mupdf-devel-static-1.11-16.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The count_entries function in pdf-layer.c in Artifex Software, Inc. MuPDF 1.10a allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted PDF document.</Note>
    </Notes>
    <CVE>CVE-2016-10221</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:mupdf-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:mupdf-devel-static-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-devel-static-1.11-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2017-11/msg00068.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-10221.html</URL>
        <Description>CVE-2016-10221</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1032140</URL>
        <Description>SUSE Bug 1032140</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An exploitable heap out of bounds write vulnerability exists in the Fitz graphical library part of the MuPDF renderer. A specially crafted PDF file can cause a out of bounds write resulting in heap metadata and sensitive process memory corruption leading to potential code execution. Victim needs to open the specially crafted file in a vulnerable reader in order to trigger this vulnerability.</Note>
    </Notes>
    <CVE>CVE-2016-8728</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:mupdf-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:mupdf-devel-static-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-devel-static-1.11-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2017-11/msg00068.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-8728.html</URL>
        <Description>CVE-2016-8728</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1039850</URL>
        <Description>SUSE Bug 1039850</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An exploitable memory corruption vulnerability exists in the JBIG2 parser of Artifex MuPDF 1.9. A specially crafted PDF can cause a negative number to be passed to a memset resulting in memory corruption and potential code execution. An attacker can specially craft a PDF and send to the victim to trigger this vulnerability.</Note>
    </Notes>
    <CVE>CVE-2016-8729</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:mupdf-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:mupdf-devel-static-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-devel-static-1.11-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2017-11/msg00068.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-8729.html</URL>
        <Description>CVE-2016-8729</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1039931</URL>
        <Description>SUSE Bug 1039931</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Artifex jbig2dec 0.13 allows out-of-bounds writes and reads because of an integer overflow in the jbig2_image_compose function in jbig2_image.c during operations on a crafted .jb2 file, leading to a denial of service (application crash) or disclosure of sensitive information from process memory.</Note>
    </Notes>
    <CVE>CVE-2017-7976</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:mupdf-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.2:mupdf-devel-static-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-1.11-16.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-devel-static-1.11-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2017-11/msg00068.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-7976.html</URL>
        <Description>CVE-2017-7976</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1035032</URL>
        <Description>SUSE Bug 1035032</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1052029</URL>
        <Description>SUSE Bug 1052029</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
