The issue was addressed with improved bounds checks. This issue is fixed in macOS Sonoma 14.1, tvOS 17.1, macOS Monterey 12.7.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1, macOS Ventura 13.6.1. An app may be able to execute arbitrary code with kernel privileges.
https://support.apple.com/en-us/HT213987
https://support.apple.com/en-us/HT213985
https://support.apple.com/en-us/HT213984
https://support.apple.com/en-us/HT213983