A type confusion issue was addressed with improved checks. This issue is fixed in macOS Monterey 12.6.2, macOS Ventura 13.1, macOS Big Sur 11.7.2. Processing a maliciously crafted package may lead to arbitrary code execution.
https://support.apple.com/en-us/HT213532
https://support.apple.com/en-us/HT213534
https://support.apple.com/en-us/HT213533
http://seclists.org/fulldisclosure/2022/Dec/25