The Giants made the announcement Thursday, a day after he got hurt during a swing and had an MRI.
The 35-year-old Torres helped San Francisco win the World Series in 2010 and rejoined the Giants in December. He also has played for the Detroit Tigers, Texas Rangers and New York Mets.
Left-hander Jose Mijares, who was to play for Venezuela, will miss the WBC due to soreness in his pitching elbow. He gave up two runs in an inning Wednesday against the Los Angeles Angels.