Apple has fixed the bug, but only for iOS and Mac users who update to the latest software.
To protect your iPhone, go to Settings > General > Software Update and select “download and install” to upgrade to iOS 9.3.3. The upgrade is available for iPhone 4s and later, iPod touch fifth generation and iPad 2 and later.
On a Mac, click the Apple icon and select the App Store. In the “updates” tab you can then update to the latest software.