XEmacs: User-assisted execution of arbitrary code

ID GLSA-201006-15
Type gentoo
Reporter Gentoo Foundation
Modified 2010-06-03T00:00:00



XEmacs is a highly extensible and customizable text editor.


Tielei Wang reported multiple integer overflow vulnerabilities in the tiff_instantiate(), png_instantiate() and jpeg_instantiate() functions in glyphs-eimage.c, all possibly leading to heap-based buffer overflows.


A remote attacker could entice a user to open a specially crafted TIFF, JPEG or PNG file using XEmacs, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application, or a Denial of Service condition.


There is no known workaround at this time.


All XEmacs users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-editors/xemacs-21.4.22-r1"

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since July 26, 2009. It is likely that your system is already no longer affected by this issue.