DETROIT -- General Motors recalled a small number of Pontiac G6 midsize cars to fix a faulty brake light system in 2009, yet waited more than five years to call back more than 2 million other cars with the same system, according to company documents filed with federal safety regulators.

The documents, filed Thursday, show that GM recalled about 8,000 Pontiacs from the 2005 and 2006 model years because the brake lights might not work when the driver stepped on the brake pedal. But the company didn’t recall later-model G6s or the Chevrolet Malibu and Saturn Aura until three weeks ago. The cars are nearly identical.

GM says the problem has caused 13 accidents and 2 injuries. GM thought the addition of a lubricant would fix the problem in newer cars, but it proved insufficient. Dealers were made aware of the problem, but car owners weren’t told directly. As a result, a potential safety problem went uncorrected for years.

The company waited to recall the other cars until this year because the problem didn’t happen as frequently as it did in the 2005 and 2006 G6 models, spokesman Alan Adler said. "We were monitoring these vehicles and looking to see what was happening with them all along," he said. "We made a decision that we thought was appropriate."

In addition, the National Highway Traffic Safety Administration didn’t pressure GM to recall the newer cars. It even closed an investigation into the matter in 2009 after GM announced the initial G6 recall.