The issue was addressed with improved memory handling. This issue is fixed in macOS Monterey 12.6.8, iOS 15.7.8 and iPadOS 15.7.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
https://support.apple.com/en-us/HT213843