A Libertyville middle school teacher has been arrested and charged with child pornography, police and the Lake County State's Attorney's Office said Friday.