In theory the person who leaked to the press could be prosecuted for leaking information. But press has the right to protect their sources, which prevents that from happening, so you get a balance between information and privacy. That wouldn't be the case if it was leaked to the general public. You'd also leak passports, SSN etc. to the general public.