As each day passes, the headlines surrounding BP's (NYSE: BP) oil spill in the Gulf of Mexico keep getting worse.

Yesterday, we learned that the leak from the bottom of the Macondo exploration well is five times more severe than initially thought. Louisiana declared a state of emergency, and the Air Force and the Navy are now helping the Coast Guard try to contain a spill that could surpass Exxon Valdez to become the worst in U.S. history.

BP, along with contractors Halliburton (NYSE: HAL) and equipment maker Cameron (NYSE: CAM), has been served with at least one lawsuit already. Transocean (NYSE: RIG), whose Deepwater Horizon rig caught fire and sank to the ocean floor, could bring its share of litigation risk as well. All of these stocks have been battered since the accident was first announced, with Transocean hit particularly hard.

Some analysts are arguing that the sell-off in BP shares is overdone. Because it's one of the biggest oil companies in the world, a double-digit percentage decline obviously translates to a gigantic loss of market value. Bernstein Research estimates that BP could be on the hook for up to $8 billion in costs, but the company's equity has lost roughly three times that amount in market value.

That BP is oversold is probably a good bet. An even better bet, I think, is that companies that had nothing to do with the spill are also selling at a senseless discount. Here are three ideas:

Dril-Quip (NYSE: DRQ) is a manufacturer of offshore drilling and production equipment like wellheads and riser systems. The stock was down 9% at one point today. You'd think it had provided the blowout preventer that failed to engage, not Cameron.

ATP Oil & Gas (Nasdaq: ATPG) is an offshore exploration and production company that recently began production from a new deepwater field in the Gulf of Mexico. Two weeks ago, I said the shares were no longer in best buy territory -- but they're headed in that direction.

Finally, Cobalt International Energy (NYSE: CIE) is an offshore explorer that I've had my eye on since its unheralded IPO last fall. I've given a ballpark figure of the shares' value in the $19 to $23 range, so today's price has me quite interested. I should note that partner Anadarko Petroleum has had mechanical difficulties drilling out the Heidelberg structure, and that could justifiably knock a little off the share price. This isn't commensurate with the beating the stock has taken, though.