A type confusion issue was addressed with improved checks. This issue is fixed in macOS Sonoma 14, iOS 17 and iPadOS 17. A remote user may be able to cause kernel code execution.
https://support.apple.com/kb/HT213940
https://support.apple.com/kb/HT213938