The Roman Catholic Church has always taught that Original Sin is a guilt that is passed on. It is only recently that this has suddenly changed and can no longer be found in the CCC. But if you go to older documents, you will see that Original Sin is a guilt passed on.
So the RCC has changed doctrines.
Oh, I see “now” the teaching is correct.

I’ll take that as growth in understanding.
404 How did the sin of Adam become the sin of all his descendants? The whole human race is in Adam “as one body of one man”.293 By this “unity of the human race” all men are implicated in Adam’s sin, as all are implicated in Christ’s justice. Still, the transmission of original sin is a mystery that we cannot fully understand. But we do know by Revelation that Adam had received original holiness and justice not for himself alone, but for all human nature. By yielding to the tempter, Adam and Eve committed a personal sin, but this sin affected the human nature that they would then transmit in a fallen state.294 It is a sin which will be transmitted by propagation to all mankind, that is, by the transmission of a human nature deprived of original holiness and justice. And that is why original sin is called “sin” only in an analogical sense: it is a sin “contracted” and not “committed” - a state and not an act.
405 Although it is proper to each individual,295 original sin does not have the character of a personal fault in any of Adam’s descendants. It is a deprivation of original holiness and justice, but human nature has not been totally corrupted: it is wounded in the natural powers proper to it, subject to ignorance, suffering and the dominion of death, and inclined to sin - an inclination to evil that is called “concupiscence”. Baptism, by imparting the life of Christ’s grace, erases original sin and turns a man back towards God, but the consequences for nature, weakened and inclined to evil, persist in man and summon him to spiritual battle.
406 The Church’s teaching on the transmission of original sin was articulated more precisely in the fifth century, especially under the impulse of St. Augustine’s reflections against Pelagianism, and in the sixteenth century, in opposition to the Protestant Reformation. Pelagius held that man could, by the natural power of free will and without the necessary help of God’s grace, lead a morally good life; he thus reduced the influence of Adam’s fault to bad example. The first Protestant reformers, on the contrary, taught that original sin has radically perverted man and destroyed his freedom; they identified the sin inherited by each man with the tendency to evil (concupiscentia), which would be insurmountable. The Church pronounced on the meaning of the data of Revelation on original sin especially at the second Council of Orange (529)296 and at the Council of Trent (1546).297
“However, Augustine’s understanding of grace was much broader than would emerge later during the Reformation.”
"While the Augustinian position became the “orthodox” Christian position for the next 1,000 years the issue was not settled. It would emerge in the Reformation as John Calvin and his followers refined the doctrines of election "
CANON 2. If anyone asserts that Adam’s sin affected him alone and not his descendants also, or at least if he declares that it is only the death of the body which is the punishment for sin, and not also that sin, which is the death of the soul, passed through one man to the whole human race, he does injustice to God and contradicts the Apostle, who says, “Therefore as sin came into the world through one man and death through sin, and so death spread to all men because all men sinned” (Rom. 5:12).