REDHAT-BUG-511994: Integer Overflow
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 "tiffinstantiate()" 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 "pnginstantiate()" 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 "jpeginstantiate()" 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] http://secunia.com/advisories/35348/ [2] http://bugs.gentoo.org/showbug.cgi?id=275397 [3] http://tracker.xemacs.org/XEmacs/its/issue534
Patches taken from Gentoo will be attached to this bug (found in their portage tree; taken from upstream).
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-511994?
The severity of REDHAT-BUG-511994 is considered high as it may allow for compromise of the user's system.
How do I fix REDHAT-BUG-511994?
To fix REDHAT-BUG-511994, it is recommended to update XEmacs to the latest version where the vulnerability has been patched.
What is the impact of REDHAT-BUG-511994?
The impact of REDHAT-BUG-511994 includes potential exploitation leading to heap-based buffer overflow which can compromise system integrity.
Who discovered the vulnerability REDHAT-BUG-511994?
The vulnerability REDHAT-BUG-511994 was discovered by Tielei Wang.
What functions are affected by REDHAT-BUG-511994?
The function affected by REDHAT-BUG-511994 is "tiff_instantiate()" within the glyphs-eimage.c file.