<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201404-03">
  <title>OptiPNG: User-assisted execution of arbitrary code</title>
  <synopsis>A use-after-free error in OptiPNG could result in execution of
    arbitrary code or Denial of Service.
  </synopsis>
  <product type="ebuild">optipng</product>
  <announced>2014-04-07</announced>
  <revised count="1">2014-04-07</revised>
  <bug>435340</bug>
  <access>remote</access>
  <affected>
    <package name="media-gfx/optipng" auto="yes" arch="*">
      <unaffected range="ge">0.7.3</unaffected>
      <vulnerable range="lt">0.7.3</vulnerable>
    </package>
  </affected>
  <background>
    <p>OptiPNG is a PNG optimizer that recompresses image files to a smaller
      size, without losing any information.
    </p>
  </background>
  <description>
    <p>A use-after-free vulnerability exists in the palette reduction
      functionality of OptiPNG.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could entice a user to open a specially crafted image
      file, 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 OptiPNG users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=media-gfx/optipng-0.7.3"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4432">CVE-2012-4432</uri>
  </references>
  <metadata tag="requester" timestamp="2012-09-22T16:00:25Z">ackle</metadata>
  <metadata tag="submitter" timestamp="2014-04-07T20:09:15Z">ackle</metadata>
</glsa>
