The couplings between the Higgs and fermionic fields can be accessed directly through processes in which the Higgs boson decays into fermions, or is produced in association with a top-quark pair. Several analyses based on the full dataset collected by CMS at 7 and 8 TeV are presented. In particular, the final results of searches for a Higgs boson decaying into a b-quark or a tau-lepton pair are presented, together with a preliminary combination of these results.