Near infrared absorption of pure CO2 in the 3v1 + v3, 2v1 + 2v20 + v3, v1 + 4v20 + v3, 6v20 + v3 Fermi tetrad region around 6300 cm-1 and in the 3v3 second overtone region around 6970 cm-1 was measured at temperatures between 298 K and 500 K to a maximum pressure of 3100 bar. The 3v3 bandshape, at moderate compression up to 0.1 g · cm-3, is adequately represented by summing over individual rotation-vibration lines with half-widths proportional to the density. Band maximum positions and vibrational intensities between gaseous and liquid-like states are reported and discussed. Promising applications of high-pressure high-temperature near infrared spectroscopy to the quantitative analysis of CO2 are illustrated for the 3200 cm-1 to 7400 cm-1 region. The technique can be used for CO2 concentrations or at optical path lengths differing by several orders of magnitude.