Skip to content
Memory corruption Disclosed report

Possible use-after-free due to refcount overflow

Eric Seidel Follow

Originally disclosed on Mozilla

  • Fixed in 18 months
  • Paid in 18 months
  • Disclosed after 18 months
Text
Created attachment 668257
foo.html

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.10 Safari/537.11

Steps to reproduce:

abarth and I discovered an issue in WebKit this afternoon where it's possible to overflow the 32-bit refcount of many objects in WebCore on a 64-bit system.  Looking briefly at mozilla, it looks like you all may be similarly vulnerable:
http://mxr.mozilla.org/mozilla-central/source/xpcom/base/nscore.h#316


Actual results:

I'm attempting to repro the issue in FF.  I've not yet succeeded, but figured you all would like to know sooner rather than later.

The original report as published on Mozilla's Bugzilla, by Eric Seidel. 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 medium-severity memory corruption bug in XPCOM. Mozilla made it public on 28 March 2014.

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 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.