Activision (now under Microsoft) still owns the rights to Call of Duty 2. While they rarely target individual downloaders, torrenting the repack (if it uses P2P) could trigger a DMCA notice from your ISP.
On the other hand, compressed game downloads can also: call of duty 2 highly compressed 429 mb pc mega free