Semi-learned borrowing from Latin vitiāre (“to make faulty”). Compare with English vitiate.
Practice speaking and memorizing "viciar" and many other words and sentences in Portuguese.