{"id":"PSF-2022-11","summary":"Buffer overflow in the _sha3 module in Python 3.10 and older","details":"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.","aliases":["BIT-libphp-2022-37454","BIT-libpython-2022-37454","BIT-php-2022-37454","BIT-php-min-2022-37454","BIT-python-2022-37454","BIT-python-min-2022-37454","CVE-2022-37454","GHSA-6w4m-2xhg-2658","PYSEC-2026-504"],"modified":"2026-06-29T12:26:35.570024218Z","published":"2022-10-21T00:00:00Z","database_specific":{"cwe_ids":[]},"references":[{"type":"REPORT","url":"https://github.com/python/cpython/issues/98517"},{"type":"WEB","url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2022-37454"},{"type":"WEB","url":"https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658"},{"type":"WEB","url":"https://mouha.be/sha-3-buffer-overflow/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python/cpython","events":[{"introduced":"0"},{"fixed":"0e4e058602d93b88256ff90bbef501ba20be9dd3"},{"fixed":"8088c90044ba04cd5624b278340ebf934dbee4a5"},{"fixed":"857efee6d2d43c5c12fc7e377ce437144c728ab8"},{"fixed":"948c6794711458fd148a3fa62296cadeeb2ed631"}]}],"versions":["v3.8.15","v3.10.8","v3.9.15","v3.7.15","v3.7.14","v3.8.14","v3.9.14","v3.10.7","v3.10.6","v3.10.5","v3.9.13","v3.10.4","v3.9.12","v3.7.13","v3.9.11","v3.10.3","v3.8.13","v3.10.2","v3.10.1","v3.9.9","v3.9.8","v3.10.0rc2","v3.7.12","v3.9.7","v3.8.12","v3.10.0rc1","v3.10.0b4","v3.7.11","v3.8.11","v3.9.6","v3.10.0b3","v3.10.0b2","v3.10.0b1","v3.9.5","v3.10.0a7","v3.9.2","v3.8.8","v3.9.2rc1","v3.8.8rc1","v3.7.10","v3.10.0a1","v3.7.9","v3.9.0b5","v3.8.5","v3.7.8","v3.7.8rc1","v3.9.0b3","v3.9.0b1","v3.8.3","v3.8.3rc1","v3.7.7rc1","v3.9.0a2","v3.7.6rc1","v3.8.0rc1","v3.7.3rc1","v3.7.2rc1","v3.7.0rc1","v3.7.0b5","v3.7.0b4","v3.7.0b3","v3.7.0b2","v3.7.0b1","v3.7.0a2","v3.6.0b1","v3.6.0a3","v3.5.0b1","v3.5.0a4","v3.5.0a3","v3.5.0a2","v3.5.0a1","v3.4.0b3","v3.4.0b2","v3.4.0b1","v3.4.0a4","v3.4.0a3","v3.4.0a2","v3.4.0a1","v3.3.0rc3","v3.3.0rc2","v3.3.0rc1","v3.3.0b2","v3.3.0b1","v3.3.0a4","v3.3.0a3","v3.3.0a2","v3.2rc3","v3.2rc2","v3.2rc1","v3.2b2","v3.2b1","v3.2a4","v3.2a3","v3.2a2","v3.2a1","v3.1","v3.1rc2","v3.1rc1","v3.1b1","v3.1a2","v3.1a1","v3.0rc3","v3.0rc2","v3.0rc1","v3.0b3","v3.0b2","v3.0b1","v3.0a5","v3.0a4","v3.0a3","v3.0a2","v3.0a1","v2.4","v2.4c1","v2.4b2","v2.4b1","v2.4a3","v2.4a2","v2.4a1","v2.3c2","v2.3c1","v2.2a3","v2.1","v2.1c2","v2.1c1","v2.1b2","v2.1b1","v2.1a2","v2.1a1","v2.0","v2.0c1","v2.0b2","v2.0b1","v1.6a2","v1.6a1","v1.5.2","v1.5.2c1","v1.5.2b2","v1.5.2b1","v1.5.2a2","v1.5.2a1","v1.5.1","v1.5","v1.5b2","v1.5b1","v1.5a4","v1.5a3","v1.5a2","v1.5a1","v1.4","v1.4b3","v1.4b2","v1.4b1","v1.3","v1.3b1","v1.2","v1.2b4","v1.2b3","v1.2b2","v1.2b1","v1.1.1","v1.1","v1.0.2","v1.0.1","v0.9.9","v0.9.8"],"database_specific":{"source":"https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-2022-11.json"}}],"schema_version":"1.7.5"}