The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.
https://news.ycombinator.com/item?id=33281106
https://csrc.nist.gov/projects/hash-functions/sha-3-project
https://mouha.be/sha-3-buffer-overflow/
https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658
https://lists.debian.org/debian-lts-announce/2022/10/msg00041.html
https://lists.debian.org/debian-lts-announce/2022/11/msg00000.html
https://www.debian.org/security/2022/dsa-5267
https://www.debian.org/security/2022/dsa-5269
https://eprint.iacr.org/2023/331