It hasn’t happened yet, but it is a possibility. Bitcoin is specifically designed to prevent this double-spending scenario.