Mozilla Foundation Security Advisory 2015-83

Overflow issues in libstagefright

Announced
August 11, 2015
Reporter
Anonymous, laf.intel, Massimiliano Tomassoli, Tyson Smith, Christoph Diehl
Impact
Critical
Products
Firefox, Firefox ESR, SeaMonkey
Fixed in
  • Firefox 40
  • Firefox ESR 38.2
  • SeaMonkey 2.35

Description

An anonymous researcher reported, via TippingPoint's Zero Day Initiative, two integer overflows in the libstagefright library that could be triggered by a malicious 'saio' chunk in an MPEG4 video. These overflows allowed for potential arbitrary code execution. This issue was independently reported by security researcher laf.intel.

Security researcher Massimiliano Tomassoli also discovered an integer overflow issue when parsing an invalid MPEG4 video.

Mozilla security engineers Tyson Smith and Christoph Diehl used the Address Sanitizer to find a buffer overflow when parsing an MPEG4 video with an invalid size in an ESDS chunk lead to memory corruption.

Each of these reported issues result in potentially exploitable crashes that could allow for remote code execution.

References