A correctional officer was treated and released from a hospital after an inmate attacked him from behind Thursday evening at the Chief James Smith Correctional Center in Lawton, state corrections officials said.