A method for filtering a message transmitted between a transmitter and a receiver in a vehicular ad hoc network, the message containing at least one position of the transmitter, including: determining a position of the receiver by a global satellite navigation system in a predetermined coordinate system; determining a decision threshold for a maximum distance between the receiver and the transmitter in the predetermined coordinate system in which the position of the receiver was determined; and discarding the message if a distance between the position of the transmitter and the position of the receiver exceeds the decision threshold.