HAVANA, Cuba—The potential collapse of President Nicolás Maduro’s regime poses a threat to Cuba, which relies on Caracas for about 28% of the island’s oil needs.

Venezuela’s opposition says the government’s longstanding oil-barter agreement with Cuba is irrational, coming amid an economic free fall at home, and benefits a Communist dictatorship it reviles.

...