The used-vehicle retailer agreed to pay the fine after “thousands of gallons of gasoline” were discharged into a nearby creek because of a corroded pipe, according to the EPA. CarMax said it immediately reported the accidental discharge and worked to quickly remediate the problem.