A buffer overflow can occur when rendering canvas content while adjusting the height and width of the `<canvas>` element dynamically, causing data to be written outside of the currently computed boundaries. This results in a potentially exploitable crash.
External Reference:
https://www.mozilla.org/en-US/security/advisories/mfsa2018-16/#CVE-2018-12359