DETROIT — Hyundai and Kia overstated the gas mileage on 900,000 vehicles sold in the past three years, a discovery that could bring sanctions from the US government and millions of dollars in reimbursements to car owners.

The inflated mileage was uncovered in an audit of test results by the Environmental Protection Agency, which ordered the Korean automakers to place corrected fuel-economy stickers on the affected cars.