An out-of-bounds write was addressed with improved input validation. This issue is fixed in iOS 14.7, macOS Big Sur 11.5. Processing a maliciously crafted image may lead to arbitrary code execution.
https://support.apple.com/kb/HT212603
https://support.apple.com/kb/HT212600