Mexican authorities do not require a minimum period of validity of passports; nevertheless, this document must be valid at the time of entry and during the period you wish to be in Mexico.