An authorization issue was addressed with improved state management. This issue is fixed in iPadOS 17.7.5, iOS 18.3.1 and iPadOS 18.3.1. A physical attack may disable USB Restricted Mode on a locked device. Apple is aware of a report that this issue may have been exploited in an extremely sophisticated attack against specific targeted individuals.
https://thehackernews.com/2025/02/apple-patches-actively-exploited-ios.html
https://support.apple.com/en-us/122174
https://support.apple.com/en-us/122173