The bug could allow a hacker to send tweets or direct messages from a user’s account and to view information including direct messages, protected tweets and location information, the company said.
But the firm said viewing such data would require “a complicated process involving the insertion of malicious code into restricted storage areas of the Twitter app”.
The company said it didn’t have evidence that malicious code had been inserted into the app or that the vulnerability had been exploited.
“But we can’t be completely sure so we are taking extra caution,” the firm said in an advisory.
Twitter said it was directly notifying people who could have been exposed to the vulnerability either through the app or by email with specific instructions on how to mitigate the bug, which vary depending on what versions of Android and Twitter are being used.
“If you are unsure about what to do, update to the latest version of Twitter for Android,” the company said.
The firm’s technical support team said on Twitter that the problem was fixed in version 7.93.4, released on 4 November 2019 for KitKat, and in version 8.18, released on 21 October 2019 for Lollipop and newer.
The app is no longer supported on Android versions previous to KitKat, the firm tweeted.
The issue doesn’t affect the iOS version of the app.
“We’re sorry this happened and will keep working to keep your information secure on Twitter,” the company said.
Twitter also said on Friday it had removed 5,929 accounts connected to a “significant state-backed” disinformation campaign originating in Saudi Arabia.
“These accounts represent the core portion of a larger network of more than 88,000 accounts engaged in spammy behaviour across a wide range of topics,” the company said in a blog post.
“We have permanently suspended all of these accounts from the service.”
Apple's policy to obey Chinese government orders to remove certain apps from its App Store in China is facing a…
Tesla and US safety regulators criticised over a lack of safeguards in a fatal 2018 Autopilot crash by US National…
Bad news for Apple, as the US Supreme Court rejects iPad maker's appeal against a $440m patent infringement financial penalty