The two-time presidential candidate -- who Sorkin once supported -- was indicted by a grand jury in North Carolina on Friday.
He faces charges that he violated campaign finance law during his 2008 presidential campaign and used that money to hide an extramarital affair with Rielle Hunter.
Entitled "The Politician," Sorkin's film is an adaptation of campaign aide Andrew Young's memoir of his time spent at Edwards' side.
It now looks like Sorkin may have found the setting for another "you can't handle the truth" moment. Edwards pled "not guilty" at a federal court hearing on Friday night in Winston-Salem, N.C.
The man who inspired strong support from within the movie industry faces six counts -- four centering on illegal payments, one involving conspiracy and one regarding false statements.
Casting for Sorkin's drama has yet to be announced, but he could always go the full "A Few Good Men" and tap Tom Cruise to play the disgraced politician.