According to some of the answers in this question, the Roman Catholic church recognizes baptisms that use water and follow the Trinitarian formula, even if they are not performed by a Catholic.
Baptisms in The Church of Jesus Christ of Latter-day Saints are performed in the name of the Father, Son, and Holy Spirit as follows:
“The person who is called of God and has authority from Jesus Christ to baptize, shall go down into the water with the person who has presented himself or herself for baptism, and shall say, calling him or her by name: Having been commissioned of Jesus Christ, I baptize you in the name of the Father, and of the Son, and of the Holy Ghost. Amen.
”Then shall he immerse him or her in the water, and come forth again out of the water.“
Source: Doctrine and Covenants 20:73–74. see also 2 Nephi 31, 3 Nephi 11, and Handbook 2, 20.3.8.
Therefore, does the Roman Catholic church recognize LDS (Mormon) baptisms as valid, or would a Latter-day Saint need to be re-baptized to become a Catholic?