To run afoul of

Related to To run afoul of: run foul
to run against or come into collision with, especially so as to become entangled or to cause injury.

See also: Afoul