Sealed court records contain the names of hundreds of third parties who were mentioned in a civil case involving sexual abuse allegations against the late financier Jeffrey Epstein, a federal judge said in New York on Wednesday.

The unnamed people, including a man identified only as “John Doe”, will be allowed to object to the release of the documents following a painstaking review of the materials, the US district judge Loretta Preska said.

“In some of these documents there are literally a thousand people” mentioned, Preska said, referring to a tranche of filings that includes more than two dozen depositions.

Epstein took his own life last month while awaiting trial in New York on sex trafficking charges.

The records also include hundreds of pages of investigative reports, said Jeff Pagliuca, an attorney for Epstein’s former girlfriend Ghislaine Maxwell, the daughter of the late British press baron Robert Maxwell.

“There’s some work involved in this,” he said of the process the attorneys will follow in determining which names to black out.

Preska scheduled Wednesday’s hearing after an appeals court in New York ordered her to review the records and release “all documents for which the presumption of public access outweighs any countervailing privacy interests”.

While it is not clear who is named in the records, an attorney for“John Doe” warned that the documents may contain “life-changing” disclosures against third parties not directly involved in the litigation.

The attorney, Nicholas Lewin, requested the opportunity to be heard on the matter, citing his unnamed client’s “reputational rights”.

The second US circuit court of appeals has already made public more than 2,000 pages in the since settled defamation lawsuit.

Virginia Giuffre, one of Epstein’s accusers, filed the case against Maxwell, accusing her of recruiting young women for Epstein’s sexual pleasure and taking part in some of the alleged abuse, all of which Maxwell has vehemently denied.

The first release of court records unsealed the day before Epstein’s jailhouse suicide in Manhattan in August contained graphic claims against Epstein and several of his former associates.

Giuffre alleges she was trafficked internationally to have sex with prominent American politicians, business executives and world leaders.

Giuffre filed the lawsuit in 2015, alleging Maxwell subjected her to “public ridicule, contempt and disgrace” by calling her a liar in published statements “with the malicious intent of discrediting and further damaging Giuffre worldwide”. The lawsuit sought unspecified damages.

About one-fifth of all documents filed in the case were done so under seal, a level of secrecy the second circuit ruled was unjustified. However, the appellate court, in unsealing the records, issued an unusual warning to the public and the media “to exercise restraint” regarding potentially defamatory allegations.