The issue was addressed with improved bounds checks. This issue is fixed in macOS Monterey 12.5, macOS Big Sur 11.6.8, Security Update 2022-005 Catalina, iOS 15.6 and iPadOS 15.6, tvOS 15.6, watchOS 8.7. A remote user may cause an unexpected app termination or arbitrary code execution.
https://support.apple.com/en-us/HT213346
https://support.apple.com/en-us/HT213345
https://support.apple.com/en-us/HT213344
https://support.apple.com/en-us/HT213343