Cuba on Thursday said it would free more than 2,000 prisoners from the island's jails, according to state-run media.