A use-after-free issue was addressed with improved memory management. This issue is fixed in macOS Monterey 12.6.8, iOS 16.6 and iPadOS 16.6, tvOS 16.6, macOS Big Sur 11.7.9, macOS Ventura 13.5, watchOS 9.6. An app may be able to execute arbitrary code with kernel privileges.
https://support.apple.com/en-us/HT213848
https://support.apple.com/en-us/HT213846
https://support.apple.com/en-us/HT213845
https://support.apple.com/en-us/HT213844