Contradiction with Genesis 46:9
Genesis lists Pharez and Zerah as the sons of Judah, not Hezron and Hamul as 1 Chronicles 2:5 states.
Genesis 46:9: And the sons of Reuben; Hanoch, and Phallu, and Hezron, and Carmi.
Contradiction with Matthew 1:3
In the genealogy of Jesus, Matthew mentions Judah as the father of Pharez and Zerah by Tamar, without mentioning Hezron and Hamul.
Matthew 1:3: And Judas begat Phares and Zara of Thamar; and Phares begat Esrom; and Esrom begat Aram;