Skip to content
Memory corruption Disclosed report CVE-2015-7175

Overflow in XULContentSinkImpl::AddText causes memory-safety bug

q1 Follow

Originally disclosed on Mozilla

  • Fixed in 7 days
  • Paid in 10 days
  • Disclosed after 7 days
Text
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);

The original report as published on Mozilla's Bugzilla, by q1. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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.

More by q1

View all

71 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.