Mozilla Foundation Security Advisory 2016-75

Integer overflow in WebSockets during data buffering

Announced
August 2, 2016
Reporter
Samuel Groß
Impact
High
Products
Firefox
Fixed in
  • Firefox 48

Description

Security researcher Samuel Groß reported an integer overflow error in WebSockets during data buffering on incoming packets when an allocated buffer is resized incorrectly. This results in the buffer array holding the data being shrunk, instead of grown, resulting in attacker controlled data being written at a known offset from the newly allocated buffer. This results in a potentially exploitable crash.

References