This update was released by Apple only to address one issue related to Photo Library. If you have older iPhone photos and deleted them in the past, those photos suddenly appear after the iOS 17.5 update on some devices. It's a serious issue in terms of privacy and data integrity. Now Apple solved this with iOS 17.5.1.