There are two stories about Judas's death. This one and the one found in Acts 1:18–19. There are differences between the two stories:
Matthew says the priests bought the field (Matthew 27:6–7), but Acts suggests Judas bought it (Acts 1:18).
Matthew says Judas hanged himself by hanging (Matthew 27:5). Acts says he fell and his body burst open (Acts 1:18).
Matthew says the field of blood was named for its use as a burial place (Matthew 27:7–8). Acts says it was named because of Judas’s violent death (Acts 1:19).
The stories can align if Acts describes the results of Matthew's events.