If something is foul, then it is very unpleasant.
He wouldn’t let his dog drink from the water because it had a foul smell.
Example picture