Bounds on the stability of 3D magnetic equilibria in the solar corona