Section — Wouters, Manual of Moral Theology
Scholion. On the Penalties Established Against Transgressors
I. The confessor who has presumed to violate the sacramental seal directly (n. 428) is subject to excommunication reserved in the most special manner to the Apostolic See (can. 2369, § 1).
II. A confessor who has violated the sacramental seal "only indirectly" (n. 428) is liable to the penalties of which canon 2368, § 1, treats (cited canon), that is, he is to be suspended from the celebration of Mass and from hearing sacramental confessions, or even, according to the gravity of the delict, is to be declared incapable of receiving them; he is to be deprived of all benefices, dignities, active and passive voice, and is to be declared incapable of all these things; and in graver cases he is also to be subjected to degradation.
III. Others who have rashly violated the sacramental seal are to be punished according to the gravity of guilt with a salutary penalty, which can even be excommunication (can. 2369, § 2).