OpenMotif, AMD64 x86 emulation X libraries: Buffer overflows in libUil library Two buffer overflows have been discovered in libUil, part of the OpenMotif toolkit, that can potentially lead to the execution of arbitrary code. openmotif December 28, 2005 January 29, 2006: 03 114234 116481 remote 2.2.3-r8 2.1.30-r13 2.2.3-r8 2.2.1 2.2.1

OpenMotif provides a free version of the Motif toolkit for open source applications. The OpenMotif libraries are included in the AMD64 x86 emulation X libraries, which emulate the x86 (32-bit) architecture on the AMD64 (64-bit) architecture.

xfocus discovered two potential buffer overflows in the libUil library, in the diag_issue_diagnostic and open_source_file functions.

Remotely-accessible or SUID applications making use of the affected functions might be exploited to execute arbitrary code with the privileges of the user running the application.

There is no known workaround at this time.

All OpenMotif users should upgrade to an unaffected version:

# emerge --sync # emerge --ask --oneshot --unmerge --verbose x11-libs/openmotif # emerge --ask --oneshot --verbose x11-libs/openmotif

All AMD64 x86 emulation X libraries users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose app-emulation/emul-linux-x86-xlibs
CVE-2005-3964 xfocus SD-051202 Original Advisory koon koon