The details of 5 million unique credit and debit cards were exposed in a data breach.