This is harder to judge than is the solvency of a firm, because a sovereign state possesses the power to tax. In theory, all that is needed in order to get out of debt is to increase taxes and cut spending.