Toyota has recalled more than 300,000 new Prius vehicles.

The company has announced that the 2016 and 2017 models of the popular hybrid vehicle were being recalled because the parking brake could stop working, CNN Money reported.

If the driver steps out of the car with the transmission in a gear other than park and the ignition on, the car could roll away, according to a Toyota news release.

>> Read more trending stories  

Owners of the affected cars will be notified by mail starting in November.

Dealers will add clips to the brake cable at no cost to drivers.

For the latest information, click here or visit the National Highway Traffic Safety Administration's safe car website and enter the car's VIN.

The recall affects 340,000 cars worldwide: 92,000 in the U.S., 212,000 in Japan and 17,000 in Europe.