The "Big Bang Theory" star will portray Larry Simpson in the film directed by Joe Berlinger, reported Entertainment Weekly.
Simpson was the lead prosecutor during Bundy's highly televised 1979 murder trial, which led to his execution in 1989.
"Extremely Wicked, Shockingly Evil, and Vile" is told from the perspective of Elizabeth Kloepfer (Lily Collins), Bundy's longtime girlfriend. It was during their relationship that Bundy committed multiple murders, and it was Kloepfer who helped the authorities finally convict him.'