A certificate parsing issue was addressed with improved checks. This issue is fixed in tvOS 15.5, iOS 15.5 and iPadOS 15.5, Security Update 2022-004 Catalina, watchOS 8.6, macOS Big Sur 11.6.6, macOS Monterey 12.4. A malicious app may be able to bypass signature validation.
https://support.apple.com/en-us/HT213256
https://support.apple.com/en-us/102770
https://support.apple.com/en-us/HT213258
https://support.apple.com/en-us/HT213257
https://support.apple.com/en-us/HT213255