Context. Ultraviolet (UV) absorption cross sections are an essential ingredient of photochemical atmosphere models. Exoplanet searches have unveiled a large population of short-period objects with hot atmospheres, very different from what we find in our solar system. Transiting exoplanets whose atmospheres can now be studied by transit spectroscopy receive extremely strong UV fluxes and have typical temperatures ranging from 400 to 2500 K. At these temperatures, UV photolysis cross section data are severely lacking. Aims. Our goal is to provide high-temperature absorption cross sections and their temperature dependency for important atmospheric compounds. This study is dedicated to CO2, which is observed and photodissociated in exop...