Yahoo's recently fired chief operating officer, Henrique de Castro, left the Internet company with a severance package of $58 million even though he lasted just 15 months on the job.

The disclosure in a regulatory filing may lead to more second-guessing of Yahoo CEO Marissa Mayer's decision to hire de Castro as her second-in-command in October 2012.

Read More Yahoo earnings, revenue beat; stock rallies

