<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200409-07">
  <title>xv: Buffer overflows in image handling</title>
  <synopsis>
    xv contains multiple exploitable buffer overflows in the image handling
    code.
  </synopsis>
  <product type="ebuild">xv</product>
  <announced>2004-09-03</announced>
  <revised count="01">2004-09-03</revised>
  <bug>61619</bug>
  <access>remote</access>
  <affected>
    <package name="media-gfx/xv" auto="yes" arch="*">
      <unaffected range="ge">3.10a-r7</unaffected>
      <vulnerable range="lt">3.10a-r7</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    xv is a multi-format image manipulation utility.
    </p>
  </background>
  <description>
    <p>
    Multiple buffer overflow and integer handling vulnerabilities have been
    discovered in xv's image processing code. These vulnerabilities have been
    found in the xvbmp.c, xviris.c, xvpcx.c and xvpm.c source files.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker might be able to embed malicious code into an image, which
    would lead to the execution of arbitrary code under the privileges of the
    user viewing the image.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All xv users should upgrade to the latest stable version:
    </p>
    <code>
    # emerge sync

    # emerge -pv "&gt;=media-gfx/xv-3.10a-r7"
    # emerge "&gt;=media-gfx/xv-3.10a-r7"</code>
  </resolution>
  <references>
    <uri link="http://www.securityfocus.com/archive/1/372345/2004-08-15/2004-08-21/0">BugTraq Advisory</uri>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0802">CAN-2004-0802</uri>
  </references>
  <metadata tag="requester" timestamp="2004-09-02T20:38:02Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2004-09-02T23:57:51Z">
    lewk
  </metadata>
</glsa>
