Doxing, the act of publicly sharing someone's private/personal information without their consent, is often intended to harass, intimidate and harm individuals.
While not always illegal when sharing publicly available information, it can violate laws pertaining to harassment, stalking, threats or invasion of privacy.
This could possibly lead to criminal charges or civil lawsuits against those responsible for such acts.