He's in serious trouble. The first thing any lawyer would be checking out is the legality of a search. Just because they found some pot lying around doesn't mean they can go around opening up safes on his arrest. There's more information here than we're hearing.

As for the gun charge itself, it matters not HOW it ended up in the house nor really where it was. CT has pretty tough laws with respect to these.