Whether all perjury is a mortal sin?

Objections

Objection 1 : It would seem that not all perjury is a mortal sin. It is laid down (Extra, De Jurejur, cap. Verum): "Referring to the question whether an oath is binding on those who have taken one in order to safeguard their life and possessions, we have no other mind than that which our predecessors the Roman Pontiffs are known to have had, and who absolved such persons from the obligations of their oath. Henceforth, that discretion may be observed, and in order to avoid occasions of perjury, let them not be told expressly not to keep their oath: but if they should not keep it, they are not for this reason to be punished as for a mortal sin." Therefore not all perjury is a mortal sin.
Objection 2 : Further, as Chrysostom [*Hom. xliv in the Opus Imperfectum on St. Matthew, falsely ascribed to St. John Chrysostom] says, "it is a greater thing to swear by God than by the Gospels." Now it is not always a mortal sin to swear by God to something false; for instance, if we were to employ such an oath in fun or by a slip of the tongue in the course of an ordinary conversation. Therefore neither is it always a mortal sin to break an oath that has been taken solemnly on the Gospels.
Objection 3 : Further, according to the Law a man incurs infamy through committing perjury (VI, qu. i, cap. Infames). Now it would seem that infamy is not incurred through any kind of perjury, as it is prescribed in the case of a declaratory oath violated by perjury [*Cap. Cum dilectus, de Ord. Cognit.]. Therefore, seemingly, not all perjury is a mortal sin.