Here is the Catechism on Lying (my emphasis):
2482 "A lie consists in speaking a falsehood with the intention of deceiving."281 The Lord denounces lying as the work of the devil: "You are of your father the devil, . . . there is no truth in him. When he lies, he speaks according to his own nature, for he is a liar and the father of lies."282
2483 Lying is the most direct offense against the truth. To lie is to speak or act against the truth in order to lead someone into error. By injuring man’s relation to truth and to his neighbor, a lie offends against the fundamental relation of man and of his word to the Lord.
2484 The gravity of a lie is measured against the nature of the truth it deforms, the circumstances, the intentions of the one who lies, and the harm suffered by its victims. If a lie in itself only constitutes a venial sin, it becomes mortal when it does grave injury to the virtues of justice and charity.
2485 By its very nature, lying is to be condemned. It is a profanation of speech, whereas the purpose of speech is to communicate known truth to others. The deliberate intention of leading a neighbor into error by saying things contrary to the truth constitutes a failure in justice and charity. The culpability is greater when the intention of deceiving entails the risk of deadly consequences for those who are led astray.
2486 Since it violates the virtue of truthfulness, a lie does real violence to another. It affects his ability to know, which is a condition of every judgment and decision. It contains the seed of discord and all consequent evils. Lying is destructive of society; it undermines trust among men and tears apart the fabric of social relationships.
2487 Every offense committed against justice and truth entails the duty of reparation, even if its author has been forgiven. When it is impossible publicly to make reparation for a wrong, it must be made secretly. If someone who has suffered harm cannot be directly compensated, he must be given moral satisfaction in the name of charity. This duty of reparation also concerns offenses against another’s reputation. This reparation, moral and sometimes material, must be evaluated in terms of the extent of the damage inflicted. It obliges in conscience.
Here is Dr. Feser expounding on this, including a discussion of the so-called “murderer at the door” scenario: edwardfeser.blogspot.com/2011/02/live-action-lying-and-natural-law.html