The `Toybox.Graphics.BufferedBitmap.initialize` API...
Critical severity
Unreviewed
Published
May 23, 2023
to the GitHub Advisory Database
•
Updated Apr 4, 2024
Description
Published by the National Vulnerability Database
May 23, 2023
Published to the GitHub Advisory Database
May 23, 2023
Last updated
Apr 4, 2024
The
Toybox.Graphics.BufferedBitmap.initialize
API method in CIQ API version 2.3.0 through 4.1.7 does not validate its parameters, which can result in integer overflows when allocating the underlying bitmap buffer. A malicious application could call the API method with specially crafted parameters and hijack the execution of the device's firmware.References