Not sure of the rules, and maybe we just encountered a TSO with common sense, but last year we flew my mother, who had been quite ill and whose driver's license expired, and did not have any problems with security. She did show her expired driver's license and expired passport, though, at the security checkpoint.