<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202008-05">
  <title>gThumb: Arbitrary code execution</title>
  <synopsis>A buffer overflow in gThumb might allow remote attacker(s) to
    execute arbitrary code.
  </synopsis>
  <product type="ebuild">gthumb</product>
  <announced>2020-08-08</announced>
  <revised count="1">2020-08-08</revised>
  <bug>712932</bug>
  <access>remote</access>
  <affected>
    <package name="media-gfx/gthumb" auto="yes" arch="*">
      <unaffected range="ge">3.10.0</unaffected>
      <vulnerable range="lt">3.10.0</vulnerable>
    </package>
  </affected>
  <background>
    <p>gThumb is an image viewer and browser for GNOME.</p>
  </background>
  <description>
    <p>A heap-based buffer overflow in gThumb’s
      _cairo_image_surface_create_from_jpeg() function, located in
      extensions/cairo_io/cairo-image-surface-jpeg.c was discovered.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could entice a user to open a specially crafted image
      file using gThumb, possibly resulting in execution of arbitrary code with
      the privileges of the process or a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All gThumb users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=media-gfx/gthumb-3.10.0"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-20326">CVE-2019-20326</uri>
  </references>
  <metadata tag="requester" timestamp="2020-08-08T01:58:55Z">sam_c</metadata>
  <metadata tag="submitter" timestamp="2020-08-08T04:18:29Z">sam_c</metadata>
</glsa>
