A use after free issue was addressed with improved memory management. This issue is fixed in macOS Ventura 13.3, macOS Monterey 12.6.4, iOS 16.3.1 and iPadOS 16.3.1, macOS Ventura 13.2.1, macOS Big Sur 11.7.5. An app may be able to execute arbitrary code with kernel privileges.
https://support.apple.com/en-us/HT213677
https://support.apple.com/en-us/HT213675
https://support.apple.com/en-us/HT213670