Neiman Marcus has learned hackers might have stolen shoppers' credit card information after accessing the retailer's customer database.