I thought Lehman got caught on the wrong side of bets on mortgage backed securities.  Those MBS were rated AAA despite holding  a large percentage of defaulting loans.  The same problem nearly dragged AIG down but the government saved them.