CATECHISM OF THE CATHOLIC CHURCH
SECOND EDITION

Paragraphs 1734–1737

1734 Freedom makes man responsible for his acts to the extent that they are voluntary. Progress in virtue, knowledge of the good, and ascesis enhance the mastery of the will over its acts.
1735 Imputability and responsibility for an action can be diminished or even nullified by ignorance, inadvertence, duress, fear, habit, inordinate attachments, and other psychological or social factors.
1736 Every act directly willed is imputable to its author:

Thus the Lord asked Eve after the sin in the garden: "What is this that you have done?" He asked Cain the same question. The prophet Nathan questioned David in the same way after he committed adultery with the wife of Uriah and had him murdered.

An action can be indirectly voluntary when it results from negligence regarding something one should have known or done: for example, an accident arising from ignorance of traffic laws.

1737 An effect can be tolerated without being willed by its agent; for instance, a mother's exhaustion from tending her sick child. A bad effect is not imputable if it was not willed either as an end or as a means of an action, e.g., a death a person incurs in aiding someone in danger. For a bad effect to be imputable it must be foreseeable and the agent must have the possibility of avoiding it, as in the case of manslaughter caused by a drunken driver.