A use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 17 and iPadOS 17, macOS Sonoma 14. An app may be able to execute arbitrary code with kernel privileges.
https://support.apple.com/kb/HT213841
https://support.apple.com/en-us/HT213940
https://support.apple.com/en-us/HT213938