Estimating the size of a defect is difficult. In fact, so difficult as to make the estimate basically useless. Earning points from defects gives a completely false view of a team’s progress. Earning points from defects indicates a fundamental misunderstanding about what stories and story points are.
Ref: www.extremeuncertainty.com/estimating-defects-agile-anti-pattern/