The two flaws are:
The vulnerabilities have been fixed with the release iOS 15.6.1, iPadOS 15.6.1, and macOS Monterey 12.5.1. The iOS and iPadOS updates are available for iPhone 6s and later, iPad Pro (all models), iPad Air 2 and later, iPad 5th generation and later, iPad mini 4 and later, and iPod touch (7th generation).
The IT giant solved both the vulnerabilities with improved bounds checking.
Apple has addressed other six zero-day vulnerabilities since January, below is the list of fixed issues:
(SecurityAffairs – hacking, Apple)