DETROIT (AP) — Subaru is recalling some 2015 vehicles to fix a software problem that could cause the automatic braking system to fail.

The recall covers about 72,000 Outback, Legacy, Impreza and XV Crosstrek models with the company's Eyesight Driver Assist system.

If a switch that turns on the brake lights fails, the automatic braking system won't work and the car won't react to an obstacle. Subaru says in documents posted by U.S. safety regulators that the problem can increase the risk of a crash.

The problem was discovered in development of new vehicles. Subaru says it could take too long for the car to tell the driver that the assist system shouldn't be used.

Dealers will reprogram the system for free. No dates have been scheduled to notify owners.