By 'all CD', I'm assuming you mean all models/years having NA/CD. You asked the million dollar question, and only the Mazda inner circle knows the complete story for certain. Some of it has become public knowledge, based on very reliable and helpful information from Mazda techs; reports by owners; and also the NHTSA complaint website.
What's known for certain is that cracked heads has been a really big deal on the 2018 CX-5, which was the first implementation of CD by Mazda. Also, the 2019 CX-5 has had quite a few cracked head reports, but almost certainly not nearly (so far) at the level of the 2018. But going beyond the 2018/2019 CX-5, things get quite a bit more uncertain. The Mazda techs say they have done 'a few' cracked heads beyond 2018/2019 CX-5, and there also was one confirmed (documented) 2022 cracked head reported here as well. And also, just a very small number of cracked head reports show up beyond 2018/2019 on NHTSA as well (all models having CD, not just the CX-5).
So it's clear that cracked heads outside of 2018/2019 CX-5, so far anyway, would have to be described as a very low volume issue. That said, it's always been concerning and very puzzling to me why there should be ANY cracked heads beyond 2019 at all. With the huge hit they took early on with this, I'd assume that Mazda upper management would have been hovering over the 'bad casting' issue and demanding that it be 100% resolved.
So the fact that even just a few cracked heads have been reported on the later models means that this problem cannot have been fully resolved yet. I can't imagine the factory being allowed to use leftover heads on the later model years, that were cast in 2018/2019. So that means that at least some number of newer castings were bad. One possible factor might be the protruding areas of the back of the head, which are where the HLA ports are located, and where the crack in the head always appears to be located. Perhaps those protrusions are difficult for the liquid metal to flow into completely, and they just can't get to 100% perfection, even with excellent QA. Just speculation there, and the root cause could probably be a number of other reasons as well, including something other than bad castings being a factor.
But the bottom line on this, and the (long winded) answer to your question is that there have been at least a few cracked heads on the later CD model years, and so this issue is still an open book - one which might very well have additional chapters yet to come.