<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200410-09">
  <title>LessTif: Integer and stack overflows in libXpm</title>
  <synopsis>
    Multiple vulnerabilities have been discovered in libXpm, which is included
    in LessTif, that can potentially lead to remote code execution.
  </synopsis>
  <product type="ebuild">lesstif</product>
  <announced>2004-10-09</announced>
  <revised count="01">2004-10-09</revised>
  <bug>66647</bug>
  <access>remote</access>
  <affected>
    <package name="x11-libs/lesstif" auto="yes" arch="*">
      <unaffected range="ge">0.93.97</unaffected>
      <vulnerable range="lt">0.93.97</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    LessTif is a clone of OSF/Motif, which is the standard user interface
    toolkit available on Unix and Linux.
    </p>
  </background>
  <description>
    <p>
    Chris Evans has discovered various integer and stack overflows in libXpm,
    which is shipped as a part of the X Window System. LessTif, an application
    that includes this library, is susceptible to the same issues.
    </p>
  </description>
  <impact type="normal">
    <p>
    A carefully-crafted XPM file could crash applications that are linked
    against libXpm, such as LessTif, potentially allowing 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 LessTif users should upgrade to the latest version:
    </p>
    <code>
    # emerge sync

    # emerge -pv "&gt;=x11-libs/lesstif-0.93.97"
    # emerge "&gt;=x11-libs/lesstif-0.93.97"</code>
  </resolution>
  <references>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0687">CAN-2004-0687</uri>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0688">CAN-2004-0688</uri>
    <uri link="https://www.gentoo.org/security/en/glsa/glsa-200409-34.xml">GLSA-200409-34</uri>
    <uri link="http://www.lesstif.org/ReleaseNotes.html">LessTif Release Notes</uri>
  </references>
  <metadata tag="submitter" timestamp="2004-10-08T16:33:39Z">
    lewk
  </metadata>
  <metadata tag="bugReady" timestamp="2004-10-09T05:48:24Z">
    lewk
  </metadata>
</glsa>
