CVE-2009-2688: Buffer Overflow

Published Jun 25, 2009
·
Updated

Multiple integer overflows in glyphs-eimage.c in XEmacs 21.4.22, when running on Windows, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via (1) the tiffinstantiate function processing a crafted TIFF file, (2) the pnginstantiate function processing a crafted PNG file, and (3) the jpeginstantiate function processing a crafted JPEG file, all which trigger a heap-based buffer overflow. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.

Other sources

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).

Red Hat

Affected Software

1 affected component
XEmacs XEmacs=21.4.22

Event History

Jun 25, 2009
CVE Published
via Red Hat·12:00 AM
Data Sourced
via Red Hat·12:00 AM
RemedyDescriptionSeverityWeakness
Jul 15, 2009
Data Sourced
via Red Hat·09:33 PM
Affected Software
Aug 5, 2009
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2009-2688?

CVE-2009-2688 is considered to have a high severity due to its potential for denial of service and arbitrary code execution.

2

How do I fix CVE-2009-2688?

To fix CVE-2009-2688, upgrade to a version of XEmacs that includes the necessary patches to address the integer overflow vulnerabilities.

3

Which versions of XEmacs are affected by CVE-2009-2688?

CVE-2009-2688 specifically affects XEmacs version 21.4.22 when running on Windows.

4

What are the potential consequences of CVE-2009-2688?

Exploiting CVE-2009-2688 can lead to application crashes or allow remote attackers to run arbitrary code on the affected system.

5

What types of files can trigger CVE-2009-2688?

CVE-2009-2688 can be triggered by processing specially crafted TIFF and PNG files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203