Earlier this week, Ukraine's overseas creditors backed the country's request for a two-year freeze on payments on almost $20 billion in international bonds, according to a regulatory filing, allowing the war-ravaged country to avoid a messy debt default.

S&P lowered Ukraine's foreign currency rating to "SD/SD" from "CC/C.

"Given the announced terms and conditions of the restructuring, and in line with our criteria, we view the transaction as distressed and tantamount to default," the ratings agency said.

Fitch downgraded the country's long-term foreign currency to "RD" from "C", as it deems the deferral of debt payments as a completion of a distressed debt-exchange.

S&P also said the macroeconomic and fiscal stress stemming from Russia's invasion of Ukraine may weaken the Ukrainian government's ability to stay current on its local currency debt and lowered the eastern European country's local currency rating to "CCC+/C" from "B-/B".

Battered by the war launched on Feb. 24, Ukraine faces a 35%-45% economic contraction in 2022 and a monthly fiscal shortfall of $5 billion.

(Reporting by Bhanvi Satija and Aishwarya Nair in Bengaluru; Editing by Maju Samuel)