A use after free issue was addressed with improved memory management. This issue is fixed in macOS Big Sur 11.7, macOS Ventura 13, iOS 16, watchOS 9, macOS Monterey 12.6, tvOS 16. An app may be able to execute arbitrary code with kernel privileges.
https://support.apple.com/en-us/HT213486
https://support.apple.com/en-us/HT213443
https://support.apple.com/en-us/HT213488
https://support.apple.com/en-us/HT213487