CVS is warning customers that its online photo service may have suffered a data breach and has shut it down.