The alleged hacker, Paige Thompson, was arrested on Monday after reportedly boasting about the breach online.
Capital One said the data included names, addresses and phone numbers of people who applied for its products.
But the hacker did not gain access to credit card account numbers, it said.
The data breach is believed to be one of the largest in banking history.
How many people have been affected?
Capital One is a major credit card issuer in the US and also operates retail banks.
The firm said in a statement released on Monday that the breach affected approximately 100 million individuals in the US and six million people in Canada.
The statement added that about 140,000 social security numbers and 80,000 linked bank account numbers were compromised in the US.
In Canada, about one million social insurance numbers belonging to Capital One credit card customers were also compromised.
The hack was identified on 19 July.
Capital One said the hacker was able to “exploit” a “configuration vulnerability” in the company’s infrastructure.
Aside from names and dates of birth, the hacker also managed to obtain credit scores, limits, balances, payment history and contact information.
A selection of the biggest data breaches worldwid
How has Capital One reacted?
Capital One said it was unlikely the information was used for fraud but it would continue to investigate the breach.
The company will notify those affected and will provide them with free credit monitoring and identity protection.
Chairman Richard Fairbank said in a statement: “While I am grateful that the perpetrator has been caught, I am deeply sorry for what has happened.
“I sincerely apologise for the understandable worry this incident must be causing those affected and I am committed to making it right. ”
What do we know about the alleged hacker?
The US justice department has confirmed it has arrested a former Seattle technology company software engineer in connection with the breach.
Ms Thompson, 33, was arrested on Monday on charges of computer fraud and abuse. She made an initial appearance in federal court in Seattle.
A hearing has been scheduled for 1 August.
Court documents claim she boasted about the data breach on an online forum.
A statement by the US attorney’s office in Washington said: “On July 17 2019, a GitHub user who saw the post alerted Capital One to the possibility it had suffered a data theft.”