A federal watchdog criticized federal regulators' oversight of executive pay packages for top officials at Fannie Mae and Freddie Mac in a report published Thursday.

The top six executives at the mortgage giants earned $35 million in the last two years, according to the report from the inspector general of the Federal Housing Finance Agency,...