search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Mozilla products VCard attachment buffer overflow

Vulnerability Note VU#897540

Original Release Date: 2006-07-27 | Last Revised: 2007-02-09


Mozilla products fail to properly handle malformed VCard attachments, which allows a buffer overflow to occur. This vulnerability may allow a remote attacker to execute arbitrary code on a vulnerable system.


According to Mozilla Foundation Security Advisory 2006-49:

A VCard attachment with a malformed base64 field (such as a photo) can trigger a heap buffer overwrite. These have proven exploitable in the past, though in this case the overwrite is accompanied by an integer underflow that would attempt to copy more data than the typical machine has, leading to a crash.
For more information and a complete list of affected products, refer to Mozilla Foundation Security Advisory 2006-49.


A remote, unauthenticated attacker may be able to execute arbitrary code on a vulnerable system. The attacker could also cause the vulnerable application to crash.


Apply an update
This vulnerability is addressed in Thunderbird and SeaMonkey 1.0.3 according to the Mozilla Foundation Security Update 2006-49.

Mozilla Foundation Security Advisory 2006-49, suggests the following workarounds:

    • Turn off the inline display of attachments.
    • Do not click on or open VCard attachments.

Vendor Information


Mozilla, Inc. Affected

Updated:  July 27, 2006



Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.


Refer to

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

CVSS Metrics

Group Score Vector



This vulnerability was reported in Mozilla Foundation Security Advisory 2006-49.

This document was written by Jeff Gennari.

Other Information

CVE IDs: CVE-2006-3804
Severity Metric: 6.15
Date Public: 2006-07-25
Date First Published: 2006-07-27
Date Last Updated: 2007-02-09 14:03 UTC
Document Revision: 19

Sponsored by CISA.