In practice, because of sovereignty, any state can withdraw from any treaty at any time. The question of whether this is permitted is really a question of how other states will react to the withdrawal; for instance, another state might impose sanctions or go to war over a treaty violation.
What really determines whether withdrawal from a treaty is permitted?
how other states will react