<?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:0373-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2017-02-02T22:48:18Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2017-02-02T22:48:18Z</InitialReleaseDate>
    <CurrentReleaseDate>2017-02-02T22:48:18Z</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 to version 1.10a fixes the following issues:

These security issues were fixed: 

- CVE-2016-10132: Null pointer dereference in regexp because of a missing check after allocating memory allowing for DoS (bsc#1019877).
- CVE-2016-10133: Heap buffer overflow write in js_stackoverflow allowing for DoS or possible code execution (bsc#1019877).
- CVE-2016-10141: An integer overflow vulnerability triggered by a regular expression with nested repetition. A successful exploitation of this issue can lead to code execution or a denial of service (buffer overflow) condition (bsc#1019877).

These non-security issues were fixed: 

- A bug with mutool and saving PDF files using the 'ascii' option has been fixed.
- Stop defining OPJ_STATIC
- FictionBook (FB2) e-book support.
-  Simple SVG parser (a small subset of SVG only).
-  mutool convert: a new document conversion tool and interface.
-  Multi-threaded rendering in mudraw.
-  Updated base 14 fonts from URW.
-  New CJK font with language specific variants.
-  Hyperlink support in EPUB.
-  Alpha channel is now optional in pixmaps.
-  More aggressive purging of cached objects.
-  Partial image decoding for lower memory use when banding.
-  Reduced default set of built-in CMap tables to the minimum required.
-  FZ_ENABLE_PDF, _XPS, _JS, to disable features at compile time.
-  Function level linking.
-  Dropped pdf object generation numbers from public interfaces.
-  Simplified PDF page, xobject, and annotation internals.
-  Closing and freeing devices and writers are now separate steps.
-  Improved PDF annotation editing interface (still a work in progress).
-  Document writer interface.
-  Banded image writer interface.
-  Bidirectional layout for Arabic and Hebrew scripts.
-  Shaping complex scripts for EPUB text layout.
-  Noto fallback fonts for EPUB layout.
-  mutool create:
   - Create new PDF files from scratch.
   - Read an annotated content stream in a text file and write a
     PDF file, automatically embedding font and image resources.
-  mutool run:
   + Run javascript scripts with MuPDF bindings.
   + The interface is similar to the new Java interface.
-  mutool draw:
   + Optional multi-threaded operation (Windows and pthreads).
   + Optional low memory mode (primarily for testing).
- Set to best anti-alias mode (8) by default. 
- Ship mupdf-x11-curl as default mupdf. Drop non-curl version.
- New URW fonts with greek and cyrillic.
- 64-bit file support.
- Updated FreeType to version 2.6.1.
- Various font substitution bug fixes.
- EPUB improvements: User style sheets, GIF images, Table of Contents,
  CJK text, Page margins and many bug fixes.</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-02/msg00016.html</URL>
      <Description>E-Mail link for openSUSE-SU-2017:0373-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.1">
      <Branch Type="Product Name" Name="openSUSE Leap 42.1">
        <FullProductName ProductID="openSUSE Leap 42.1">openSUSE Leap 42.1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="mupdf-1.10a-10.1">
      <FullProductName ProductID="mupdf-1.10a-10.1">mupdf-1.10a-10.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="mupdf-devel-static-1.10a-10.1">
      <FullProductName ProductID="mupdf-devel-static-1.10a-10.1">mupdf-devel-static-1.10a-10.1</FullProductName>
    </Branch>
    <Relationship ProductReference="mupdf-1.10a-10.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:mupdf-1.10a-10.1">mupdf-1.10a-10.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="mupdf-devel-static-1.10a-10.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:mupdf-devel-static-1.10a-10.1">mupdf-devel-static-1.10a-10.1 as a component of openSUSE Leap 42.1</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">regexp.c in Artifex Software, Inc. MuJS allows attackers to cause a denial of service (NULL pointer dereference and crash) via vectors related to regular expression compilation.</Note>
    </Notes>
    <CVE>CVE-2016-10132</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:mupdf-1.10a-10.1</ProductID>
        <ProductID>openSUSE Leap 42.1:mupdf-devel-static-1.10a-10.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</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-02/msg00016.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-10132.html</URL>
        <Description>CVE-2016-10132</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1019877</URL>
        <Description>SUSE Bug 1019877</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">Heap-based buffer overflow in the js_stackoverflow function in jsrun.c in Artifex Software, Inc. MuJS allows attackers to have unspecified impact by leveraging an error when dropping extra arguments to lightweight functions.</Note>
    </Notes>
    <CVE>CVE-2016-10133</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:mupdf-1.10a-10.1</ProductID>
        <ProductID>openSUSE Leap 42.1:mupdf-devel-static-1.10a-10.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</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-02/msg00016.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-10133.html</URL>
        <Description>CVE-2016-10133</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1019877</URL>
        <Description>SUSE Bug 1019877</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 integer overflow vulnerability was observed in the regemit function in regexp.c in Artifex Software, Inc. MuJS before fa3d30fd18c348bb4b1f3858fb860f4fcd4b2045. The attack requires a regular expression with nested repetition. A successful exploitation of this issue can lead to code execution or a denial of service (buffer overflow) condition.</Note>
    </Notes>
    <CVE>CVE-2016-10141</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:mupdf-1.10a-10.1</ProductID>
        <ProductID>openSUSE Leap 42.1:mupdf-devel-static-1.10a-10.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</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-02/msg00016.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-10141.html</URL>
        <Description>CVE-2016-10141</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1019877</URL>
        <Description>SUSE Bug 1019877</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
