Twitter users' phone numbers and email addresses -- submitted to allow for account authentication -- were matched with advertisers' own data to enable targeted ads.
Top US antitrust regulators admit to infighting on big tech probe
"When you provided an email address or phone number for safety or security purposes this data may have inadvertently been used for advertising purposes," Twitter said in an online post.
"This was an error and we apologise."
None of the user data was shared with partners outside the company, and it was unclear how many people were affected, the San Francisco-based company said.
Zuckerberg: new Facebook panel can overrule him
The issue was fixed in mid-September, Twitter said.
"We're very sorry this happened and are taking steps to make sure we don't make a mistake like this again," Twitter said.
Privacy and internet data are hot political topics worldwide, with tech giants such as Twitter and Facebook in the crosshairs of regulators.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ