The mounting hole spacing of the AM5 socket is the same as the current AM4 socket, and AMD also retains the same Z height. Generally speaking, the mounting fasteners of the AM4 platform are compatible. Noctua, a well-known radiator manufacturer, has confirmed that except for NH-L9a-AM4 and NM-AM4-L9aL9i, its other original AM4 platform CPU coolers can be applied to the AM5 platform.
Noctua further explained that all SE-AM4 models purchased since January 2019 and all Noctua multi-platform CPU coolers already support the AM5 platform, and prior to January 2019, purchases of multi-platform CPU coolers that have been upgraded to the AM4 platform using the NM-AM4 or NM-AM4-UxS kits do not require further upgrades.
If you want to know the socket compatibility of the Noctua CPU cooler, you can check the compatibility list of Noctua products.