CPI inflation measures the overall change in consumer prices based on a fixed basket of goods and services from one period to another, while real GDP growth measures the change in the value of goods and services produced in an economy, adjusted for inflation, from one period to another.
The CPI can overstate inflation if it does not properly account for quality improvements in new products that replace older ones, and if it does not adjust for consumer substitution towards relatively cheaper products.