Vulnerability Note VU#421529

Mozilla contains a buffer overflow vulnerability in crypto.signText()

Original Release date: 02 Jun 2006 | Last revised: 09 Feb 2007


Mozilla products contain a buffer overflow in the crypto.signText() method. This may allow a remote attacker to execute arbitrary code.



JavaScript contains a crypto.signText() method, which allows the user to digitally sign a text string.

The problem

The Mozilla crypto.signText() method contains a buffer overflow. Mozilla Firefox and Thunderbird are reported to be vulnerable.


By convincing a user to view a specially crafted HTML document (e.g., a web page, an HTML email message, or an HTML email attachment), an attacker may be able to execute arbitrary code with the privileges of the user.


Apply an update
Refer to Mozilla Foundation Security Advisory 2006-38 for fixed versions of Mozilla products.

Disable JavaScript

This vulnerability can be mitigated by disabling JavaScript.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Mozilla, Inc.Affected-02 Jun 2006
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A



Thanks to the Mozilla Foundation Security Advisory for reporting this vulnerability, who in turn credit Mikolaj J. Habryn.

This document was written by Will Dormann.

Other Information

  • CVE IDs: CVE-2006-2778
  • Date Public: 01 Jun 2006
  • Date First Published: 02 Jun 2006
  • Date Last Updated: 09 Feb 2007
  • Severity Metric: 10.33
  • Document Revision: 17


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