<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200612-04">
  <title>ModPlug: Multiple buffer overflows</title>
  <synopsis>
    ModPlug contains several boundary errors that could lead to buffer
    overflows resulting in the possible execution of arbitrary code.
  </synopsis>
  <product type="ebuild">libmodplug</product>
  <announced>2006-12-10</announced>
  <revised count="01">2006-12-10</revised>
  <bug>143404</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/libmodplug" auto="yes" arch="*">
      <unaffected range="ge">0.8-r1</unaffected>
      <vulnerable range="lt">0.8-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    ModPlug is a library for playing MOD-like music.
    </p>
  </background>
  <description>
    <p>
    Luigi Auriemma has reported various boundary errors in load_it.cpp and
    a boundary error in the "CSoundFile::ReadSample()" function in
    sndfile.cpp.
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker can entice a user to read crafted modules or ITP
    files, which may trigger a buffer overflow resulting in the execution
    of arbitrary code with the privileges of the user running the
    application.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All ModPlug users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-libs/libmodplug-0.8-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4192">CVE-2006-4192</uri>
  </references>
  <metadata tag="requester" timestamp="2006-12-05T19:55:31Z">
    vorlon
  </metadata>
  <metadata tag="bugReady" timestamp="2006-12-07T10:06:27Z">
    vorlon
  </metadata>
  <metadata tag="submitter" timestamp="2006-12-08T13:57:46Z">
    falco
  </metadata>
</glsa>
