Endpoint Vulnerability

Integer overflow in WebSockets during data buffering

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.

Affected Products

Firefox

References

CVE-2016-5261,