Two former Dewey & LeBoeuf LLP executives have settled a civil suit brought by the defunct firm's bankruptcy trustee to recover nearly $22 million, according to a Tuesday court filing.

No details of the settlement---reached with Dewey's ex-chief financial officer, Joel Sanders, and former executive director, Stephen DiCarmine---were immediately available Tuesday. A one-paragraph order from U.S. Bankruptcy Judge Martin Glenn simply says, "The court has been informed that the parties have settled this matter."

An attorney for Mr. DiCarmine declined to comment Tuesday. Dewey's bankruptcy trustee, Alan Jacobs, and an attorney for Mr. Sanders couldn't immediately be reached.

The clawback lawsuit sought more than $21.8 million that Dewey's trustee says the pair improperly received as the firm "fell deeper and deeper into insolvency" ahead of Dewey's 2012 collapse. The money, the trustee said, should be recovered for the benefit of Dewey's creditors.

Messrs. DiCarmine and Sanders still face criminal allegations tied to the firm's collapse. The pair, along with fellow criminal defendant Steven Davis, Dewey's former chairman, sought to dismiss the criminal action earlier this month, saying prosecutors and vengeful partners made the group "scapegoats" for the largest law firm failure in history.

An attorney with the New York district attorney's office had requested July 9 that the bankruptcy court halt the civil suit against Messrs. DiCarmine and Sanders, arguing the two cases overlapped and that the criminal suit should be concluded first. Judge Glenn hadn't yet ruled on the request.

In the months after Dewey's collapse, Mr. Sanders moved to Florida and began working in the finance department of law firm Greenspoon Marder. Mr. DiCarmine began pursuing a career in fashion.

Mr. Davis, who briefly held a job as a top legal adviser to the government of the Persian Gulf emirate Ras al Khaimah after Dewey went under, already struck a deal with the Dewey bankruptcy estate and was no longer a party to the civil suit.

Dewey filed for Chapter 11 protection in May 2012, after mounting debts and months of partner losses left the firm unable to continue operating.

The bulk of Dewey's creditor repayment plan relies on a $70.4 million settlement struck in 2012 with 475 former Dewey partners, who agreed to pay the bankruptcy estate in exchange for a release from most Dewey-related liability.

—Jennifer Smith contributed to this article.

Write to Sara Randazzo at