First published: Wed Jul 15 2009(Updated: )
Tielei Wang has discovered [1] some vulnerabilities in XEmacs, which can be exploited by malicious people to potentially compromise a user's system. 1) An integer overflow error within the "tiff_instantiate()" function in glyphs-eimage.c can be exploited to cause a heap-based buffer overflow via a specially crafted TIFF file. 2) An integer overflow error within the "png_instantiate()" function in glyphs-eimage.c can be exploited to cause a heap-based buffer overflow via a specially crafted PNG file. 3) An integer overflow error within the "jpeg_instantiate()" function in glyphs-eimage.c can be exploited to cause a heap-based buffer overflow via a specially crafted JPEG file. Successful exploitation of the vulnerabilities may allow execution of arbitrary code. Gentoo [2] reported this upstream [3], and while upstream's bug is not public, the notes in the Gentoo BZ indicate upstream does not really consider this a security bug. Gentoo's BZ also indicates this issue does not exist in emacs. [1] <a href="http://secunia.com/advisories/35348/">http://secunia.com/advisories/35348/</a> [2] <a href="http://bugs.gentoo.org/show_bug.cgi?id=275397">http://bugs.gentoo.org/show_bug.cgi?id=275397</a> [3] <a href="http://tracker.xemacs.org/XEmacs/its/issue534">http://tracker.xemacs.org/XEmacs/its/issue534</a> Patches taken from Gentoo will be attached to this bug (found in their portage tree; taken from upstream).
Affected Software | Affected Version | How to fix |
---|---|---|
GNU XEmacs |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-511994 is considered high as it may allow for compromise of the user's system.
To fix REDHAT-BUG-511994, it is recommended to update XEmacs to the latest version where the vulnerability has been patched.
The impact of REDHAT-BUG-511994 includes potential exploitation leading to heap-based buffer overflow which can compromise system integrity.
The vulnerability REDHAT-BUG-511994 was discovered by Tielei Wang.
The function affected by REDHAT-BUG-511994 is "tiff_instantiate()" within the glyphs-eimage.c file.