Westermann out of World Cup
The German team said Westermann had fractured a bone in his foot at the end of Saturday's 3-0 win over Hungary.
The Schalke 04 player, who has won 19 caps, is a defender but could have provided cover in midfield following the injuries to Michael Ballack and Christian Traesch - who have both been ruled out.
GEAR: Get your Germany shirt
"Naturally I am devastated because it was my big goal to take part in the World Cup," said Westermann. "I felt fully fit but now the only thing left for me to do is to wish the team all the best at the tournament."
Germany coach Joachim Low, who now has only 24 fit players left from his preliminary 27-man squad, said Westermann's versatility would have been needed in South Africa,
The 26-year-old is also a good option for set pieces and often scores with powerful headers.
Low will have to cut his squad to 23 players by June 1 before the team travels to South Africa on June 6 for the tournament starting five days later.
"Heiko would have played a very important role at the world Cup for our team. That is because of his multi-faceted play. In training he was in superb physical condition," Low said.
The coach, who had picked six strikers for his preliminary squad and had said all of them would travel to South Africa, could now be forced to sacrifice one of them to allow his team to have more options in midfield.
Stefan Kiessling, the Bundesliga's second best scorer, was left on the bench against Hungary, with Miroslav Klose and Lukas Podolski guaranteed a spot on the World Cup team despite a slump in form.
Strikers Cacau and Thomas Muller are in top form at the moment while Mario Gomez was on target against Hungary.
Low could opt to leave left-back Marcell Jansen behind, battling to regain fitness after an ankle injury late in the season.
Germany have been drawn in Group D alongside Serbia, Australia and Ghana.