Apple released iOS 18.3.1 and iPadOS 18.3.1 today to fix a serious security problem related to USB Restricted Mode. This vulnerability could let someone bypass USB Restricted Mode on a locked device through a physical attack, which might allow access to the device’s data.
Source : Apple’s New iPhone Update Fixes a Critical USB Security Flaw