Overflow in XULContentSinkImpl::AddText causes memory-safety bug
- Fixed in 7 days
- Paid in 10 days
- Disclosed after 7 days
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150305021524
Steps to reproduce:
This bug is just like https://bugzilla.mozilla.org/show_bug.cgi?id=1172187 , but in XULContentSinkImpl::AddText (38.0.1\dom\xul\nsXULContentSink.cpp), line 1075:
1075: mTextSize += aLength;
1076: mText = (char16_t *) moz_realloc(mText, sizeof(char16_t) * mTextSize);
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 low-severity memory corruption bug in DOM: Core & HTML. Mozilla made it public on 12 June 2015 as CVE-2015-7175.
About Memory corruption
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.