Bitcoin Core before 24.1, when debug mode is not used, allows attackers to cause a denial of service (e.g., CPU consumption) because draining the inventory-to-send queue is inefficient, as exploited in the wild in May 2023.
https://x.com/123456/status/1711601593399828530
https://github.com/visualbasic6/drain
https://github.com/dogecoin/dogecoin/issues/3243#issuecomment-1712575544
https://github.com/bitcoin/bitcoin/pull/27610
https://github.com/bitcoin/bitcoin/issues/27623
https://github.com/bitcoin/bitcoin/issues/27586
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-24.1.md
https://en.bitcoin.it/wiki/Common_Vulnerabilities_and_Exposures