With the application of CO2 fracturing, CO2 huff and puff, CO2 flooding, and other stimulation technologies in shale reservoirs, a large amount of CO2 remained in the formation, which also lead to the serious corrosion problem of CO2 in shale reservoirs. In order to solve the harm caused by CO2 corrosion, it is necessary to curb CO2 corrosion from the cementing cement ring to ensure the long-term stable exploitation of shale oil. Therefore, a new latex was created using liquid polybutadiene, styrene, 2-acrylamide-2-methylpropanesulfonic acid, and maleic anhydride to increase the cement ring’s resistance to CO2 corrosion. The latex’s structure and characteristics were then confirmed using infrared, particle size analyzer, thermogravimetric analysis, and transmission electron microscopy. The major size distribution of latex is between 160 and 220 nm, with a solid content of 32.2% and an apparent viscosity of 36.8 mPa·s. And it had good physical properties and stability. Latex can effectively improve the properties of cement slurry and cement composite. When the amount of latex was 8%, the fluidity index of cement slurry was 0.76, the consistency index was 0.5363, the free liquid content was only 0.1%, and the water loss was reduced to 108 mL. At the same time, latex has a certain retarding ability. With 8% latex, the cement slurry has a specific retarding ability, is 0.76 and 0.5363, has a free liquid content of just 0.1%, and reduces water loss to 108 mL. Moreover, latex had certain retarding properties. The compressive strength and flexural strength of the latex cement composite were increased by 13.47% and 33.64% compared with the blank cement composite. A long-term CO2 corrosion experiment also showed that latex significantly increased the cement composite’s resilience to corrosion, lowering the blank cement composite’s growth rate of permeability from 46.88% to 19.41% and its compressive strength drop rate from 27.39% to 11.74%. Through the use of XRD and SEM, the latex’s anti-corrosion mechanism, hydration products, and microstructure were examined. In addition to forming a continuous network structure with the hydrated calcium silicate and other gels, the latex can form a latex film to attach and fill the hydration products. This slows down the rate of CO2 corrosion of the hydration products, enhancing the cement composite’s resistance to corrosion. CO2-resistant toughened latex can effectively solve the CO2 corrosion problem of the cementing cement ring in shale reservoirs.