Skip to content
Memory corruption Disclosed report CVE-2014-1542

limit AudioBuffer channel counts and sample rate range

Karl Tomlinson Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 47 days
  • Paid in 3 months
  • Disclosed after 47 days
Text
Bug 987679 identified a critical security bug using the Speex resampler with
extreme down-sampling ratios and/or channel counts.

When the resampler code is patched to fix that, there still remains a null
deref crash.

We don't need to handle so many channels and large numbers of channels have
led to other security bugs such as bug 990794.  There have been previous
attempts to limit the number of channels in bug 877039 and bug 987976 but
there are still ways to go beyond the intended limit of 32 channels.

We can't hope to support extreme down-sampling ratios successfully because
this requires processing a huge number of input samples per output sample, so
there is little harm in applying a limit on sample rates.

The original report as published on Mozilla's Bugzilla, by Karl Tomlinson. 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 critical-severity memory corruption bug in Web Audio. Mozilla made it public on 20 May 2014 as CVE-2014-1542.

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.