WASHINGTON—General Motors Co. and Chrysler Group LLC may need to contribute "substantial" sums to their employee pension plans in coming years to comply with U.S. laws, the Government Accountability Office said Tuesday.

The ability of GM and Chrysler to make the contributions remains uncertain, and largely depends on whether the companies return to profitability, reported the GAO, the investigative arm of Congress.

U.S....