<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200704-09">
  <title>xine-lib: Heap-based buffer overflow</title>
  <synopsis>
    xine-lib is vulnerable to a heap-based buffer overflow.
  </synopsis>
  <product type="ebuild">xine-lib</product>
  <announced>2007-04-14</announced>
  <revised count="01">2007-04-14</revised>
  <bug>170208</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/xine-lib" auto="yes" arch="x86">
      <unaffected range="ge">1.1.4-r2</unaffected>
      <vulnerable range="lt">1.1.4-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    xine-lib is the core library package for the xine media player.
    </p>
  </background>
  <description>
    <p>
    xine-lib does not check boundaries on data being read into buffers from
    DMO video files in code that is shared with MPlayer
    (DMO_VideoDecoder.c).
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could entice a user to play a specially crafted DMO video
    file with a player using xine-lib, potentially resulting in the
    execution of arbitrary code with the privileges of the user running the
    player.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All xine-lib users on the x86 platform should upgrade to the latest
    version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-libs/xine-lib-1.1.4-r2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1246">CVE-2007-1246</uri>
  </references>
  <metadata tag="requester" timestamp="2007-03-22T17:27:51Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2007-04-02T15:54:20Z">
    aetius
  </metadata>
  <metadata tag="bugReady" timestamp="2007-04-03T22:28:59Z">
    falco
  </metadata>
</glsa>
