First, it is probably not a bug.
Second, what was your HDHP coverage (Family, I assume)? What was your spouse's coverage?
Third, how much did you each contribute to an HSA (did you have more than one HSA)?
Fourth, where did TurboTax tell you that the excess was $1,165 and where did TurboTax say the excess was $1,140? Was this in the HSA interview? It normally does this after the second tax payer's HSA interview is finished. The excess is not normally reported in two separate places.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"