San Francisco, Oct 3: A security bug has been found in Facebook-owned instant messenger WhatsApp that could let attackers to obtain access to a device and steal data by sending a malicious GIF file. The danger stems from a double-free bug in WhatsApp, according to a researcher going by the nickname Awakened, The Next Web reported on Wednesday. A double-free vulnerability is a memory corruption anomaly that could crash an application or open up an exploit vector that attackers can abuse to gain access to users' device. WhatsApp Testing Self-Destruct Feature on Android Allowing Users To Delete Messages After Set Period of Time.

According to Awakened's post on GitHub, the flaw resided in WhatsApp's Gallery view implementation that is used to generate previews for photographs, videos and GIFs. All it takes to perform the attack is to craft a malicious GIF, and wait for the user to open the WhatsApp gallery, the report added.

"The exploit works well until WhatsApp version 2.19.230. The vulnerability is officially patched in WhatsApp version 2.19.244," wrote the researcher. WhatsApp Will Stop Working on These Apple iPhones From February 1, 2020; Check If You Are on the List.

The bug also works for Android 8.1 and Android 9.0 OS but does not work for Android 8.0 and below. In the older Android versions, double-free could still be triggered. However, because of the malloc calls by the system after the double-free, the app just crashes before reaching to the point that we could control the PC register, according to a report in Gizmodo.

(The above story first appeared on LatestLY on Oct 03, 2019 02:53 PM IST. For more news and updates on politics, world, sports, entertainment and lifestyle, log on to our website latestly.com).