SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#557948

Mozilla products vulnerable to heap overflow via specially crafted GIF file

Overview

Mozilla products, including the Mozilla Suite, Mozilla Firefox, and Mozilla Thunderbird, are vulnerable to a heap-based overflow in the GIF image-processing routines.

I. Description

The Mozilla project produces an application suite (Mozilla Suite), web browsers (Mozilla Firefox), email software (Mozilla Thunderbird), and other products.

An image processing library used in some Mozilla products contains a flaw in Graphic Interchange Format (GIF) file handling. A Netscape-specific extension block (Netscape extension 2) may be present in the GIF file that contains a 32-bit integer. This integer is used to determine image buffer space. An attacker may misrepresent this value to exploit a heap overflow condition. The attacker can craft a special GIF file that, when viewed, induces a heap overflow in the Mozilla product that is processing the GIF file.

II. Impact

A remote unauthenticated attacker can execute arbitrary code as the local user if the user loads a specially crafted GIF file (for example, a GIF-format image in a web page or email message).

III. Solution

Apply an update


The vulnerability is addressed in the following Mozilla product releases:


Note that other products that use the same image processing library may also be affected.

The Mozilla project recommends turning off image loading as a temporary workaround until an update is applied.

Systems Affected

VendorStatusDate Updated
MozillaVulnerable28-Mar-2005
Red Hat, Inc.Vulnerable22-Dec-2005

References


http://xforce.iss.net/xforce/alerts/id/191
http://www.mozilla.org/security/announce/mfsa2005-30.html
http://secunia.com/advisories/14685/
http://secunia.com/advisories/14684/
http://secunia.com/advisories/14654/

Credit

Thanks to Mark Dowd and the rest of ISS X-Force for reporting this vulnerability.

This document was written by Ken MacInnis.

Other Information

Date Public03/23/2005
Date First Published03/30/2005 12:03:59 PM
Date Last Updated12/22/2005
CERT Advisory 
CVE NameCVE-2005-0399
US-CERT Technical Alerts 
Metric17.55
Document Revision33

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2005 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader