A memory consumption issue was addressed with improved memory handling. This issue is fixed in tvOS 16, iOS 16, macOS Ventura 13, watchOS 9. Processing a maliciously crafted image may lead to arbitrary code execution.
https://support.apple.com/en-us/HT213486
https://support.apple.com/en-us/HT213488