https://support.apple.com/en-us/127002

Apple has released a security update to address a significant privacy flaw in iOS that prevented notification data from being properly deleted even after users removed the notifications. The bug allowed sensitive information displayed in notifications, including message previews, app alerts, and other personal data, to persist on devices long after users believed they had cleared them. The vulnerability affected multiple iOS versions and potentially exposed private user information that should have been permanently erased.

The issue was particularly concerning for users who regularly delete sensitive notifications containing confidential information such as banking alerts, authentication codes, medical information, or private messages. Security researchers who identified the flaw noted that the retained data could potentially be accessed through forensic analysis or exploited by malicious actors who gained physical or remote access to affected devices. The bug undermined user expectations about data deletion and raised questions about how iOS handles temporary data storage.
Apple addressed the vulnerability in its latest iOS security update, urging all users to install the patch immediately to ensure deleted notifications are properly removed from their devices.