According to the declaration of Vatican Council II, the issue of infallibility with which the Divine Redeemer willed His Church to be endowed in defining doctrine of faith and morals, extends as far as the deposit of Revelation extends, which must be religiously guarded and faithfully expounded. And this is the infallibility which the Roman Pontiff, the head of the college of bishops, enjoys in virtue of his office, when, as the supreme shepherd and teacher of all the faithful, who confirms his brethren in their faith, by a definitive act he proclaims a doctrine of faith or morals. And, therefore, his definitions, of themselves, and not from the consent of the Church, are justly styled irreformable, since they are pronounced with the assistance of the Holy Spirit, promised to him in blessed Peter, and therefore they need no approval of others, nor do they allow an appeal to any other judgment. For then the Roman Pontiff is not pronouncing judgment as a private person, but as the supreme teacher of the universal Church, in whom the charism of infallibility of the Church itself is individually present, he is expounding or defending a doctrine of Catholic faith. The infallibility promised to the Church resides also in the body of Bishops, when that body exercises the supreme magisterium with the successor of Peter. To these definitions the assent of the Church can never be wanting, on account of the activity of that same Holy Spirit, by which the whole flock of Christ is preserved and progresses in unity of faith.
But when either the Roman Pontiff or the Body of Bishops together with him defines a judgment, they pronounce it in accordance with Revelation itself, which all are obliged to abide by and be in conformity with, that is, the Revelation which as written or orally handed down is transmitted in its entirety through the legitimate succession of bishops and especially in care of the Roman Pontiff himself, and which under the guiding light of the Spirit of truth is religiously preserved and faithfully expounded in the Church. The Roman Pontiff and the bishops, in view of their office and the importance of the matter, by fitting means diligently strive to inquire properly into that revelation and to give apt expression to its contents; but a new public revelation they do not accept as pertaining to the divine deposit of faith (Lumen Gentium, Dogmatic Constitution on the Church, §25).