The issue was addressed with improved memory handling. This issue is fixed in visionOS 1.2, watchOS 10.5, tvOS 17.5, iOS 17.5 and iPadOS 17.5. An app may be able to execute arbitrary code with kernel privileges.
https://support.apple.com/kb/HT214108
https://support.apple.com/kb/HT214104
https://support.apple.com/kb/HT214102
https://support.apple.com/kb/HT214101
https://support.apple.com/en-us/HT214108
https://support.apple.com/en-us/HT214104
https://support.apple.com/en-us/HT214102