Tens of thousands of cars, including some models of the Toyota Rav 4, have been classed as having 'critical' defects.