Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-37454 BIT-libphp-2022-37454BIT-libpython-2022-37454BIT-php-2022-37454BIT-php-min-2022-37454BIT-python-2022-37454BIT-python-min-2022-37454EUVD-2023-1219GHSA-6w4m-2xhg-2658PSF-2022-11PYSEC-2026-504

Buffer overflow in sponge queue functions

Published Oct 21, 2022 · Updated Oct 14, 2026 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pypy3 7.3.9+dfsg-5 —
Debian 13 pypy3 7.3.9+dfsg-5 —
Debian 12 pypy3 7.3.9+dfsg-5 —
Debian 11 php7.4 7.4.33-1+deb11u1 DSA-5277-1
Debian 11 pypy3 7.3.5+dfsg-2+deb11u2 DSA-5269-1
Debian 11 pysha3 1.0.2-4.1+deb11u1 DSA-5267-1
Debian 11 python3.9 3.9.2-1+deb11u4 DLA-4445-1
Debian 10 php7.3 7.3.31-1~deb10u2 DLA-3243-1
Debian 10 pysha3 1.0.2-2+deb10u1 DLA-3174-1
Debian 10 python3.7 3.7.3-2+deb10u4 DLA-3175-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS php8.1 8.1.2-1ubuntu2.8 USN-5717-1
Ubuntu 22.04 LTS pypy3 7.3.9+dfsg-1ubuntu0.1 USN-6524-1
Ubuntu 22.04 LTS pysha3 1.0.2-4.2ubuntu0.22.04.1 USN-6525-1
Ubuntu 22.04 LTS python3.10 3.10.6-1~22.04.2 USN-5767-1
Ubuntu 20.04 LTS php7.4 7.4.3-4ubuntu2.15 USN-5717-1
Ubuntu 20.04 LTS pypy3 7.3.1+dfsg-4ubuntu0.1 USN-6524-1
Ubuntu 20.04 LTS pysha3 1.0.2-4ubuntu0.1 USN-6525-1
Ubuntu 20.04 LTS python3.8 3.8.10-0ubuntu1~20.04.6 USN-5767-1
Ubuntu 18.04 LTS php7.2 7.2.24-0ubuntu0.18.04.15 USN-5717-1
Ubuntu 18.04 LTS pysha3 No fix yet —
Ubuntu 18.04 LTS python2.7 2.7.17-1~18.04ubuntu1.10 USN-5767-1
Ubuntu 18.04 LTS python3.6 3.6.9-1~18.04ubuntu1.10 USN-5767-3, USN-5767-1
Ubuntu 16.04 LTS pysha3 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS python3.9 3.9.5-3ubuntu0~20.04.1+esm1 USN-5888-1
Ubuntu Pro 18.04 LTS python3.7 3.7.5-2ubuntu1~18.04.2+esm2 USN-5930-1
Ubuntu Pro 18.04 LTS python3.8 3.8.0-3ubuntu1~18.04.2+esm1 USN-5931-1
ReleasePackageFixed inAdvisory
RHEL 9 apcu-panel +2 5.1.21-1.module+el9.1.0.z+15477+cb86791d RHSA-2023:2417
RHEL 9 php +23 8.0.27-1.el9_1 RHSA-2023:2417, RHSA-2023:0965
RHEL 9 php-pecl-rrd 2.0.3-4.module+el9.1.0.z+15477+cb86791d RHSA-2023:2417
RHEL 9 php-pecl-xdebug3 3.1.4-1.module+el9.1.0.z+15477+cb86791d RHSA-2023:2417
RHEL 9 php-pecl-zip 1.20.1-1.module+el9.1.0.z+15477+cb86791d RHSA-2023:2417
RHEL 8 apcu-panel +2 5.1.18-1.module+el8.3.0+6678+b09f589e RHSA-2023:2903, RHSA-2023:0848
RHEL 8 libzip +2 1.6.1-1.module+el8.3.0+6678+b09f589e RHSA-2023:2903, RHSA-2023:0848
RHEL 8 php +25 7.4.33-1.module+el8.8.0+17865+ef7eddfa RHSA-2023:2903, RHSA-2023:0848
RHEL 8 php-pear 1:1.10.13-1.module+el8.6.0+13671+84712317 RHSA-2023:2903, RHSA-2023:0848
RHEL 8 php-pecl-rrd 2.0.1-1.module+el8.3.0+6678+b09f589e RHSA-2023:2903, RHSA-2023:0848
RHEL 8 php-pecl-xdebug 2.9.5-1.module+el8.3.0+6678+b09f589e RHSA-2023:2903
RHEL 8 php-pecl-xdebug3 3.1.2-1.module+el8.6.0+13671+84712317 RHSA-2023:0848
RHEL 8 php-pecl-zip 1.18.2-1.module+el8.3.0+6678+b09f589e RHSA-2023:2903, RHSA-2023:0848

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 apcu-panel +2 5.1.21-1.module_el9.1.0+15+94ba28e4 ALSA-2023:2417
AlmaLinux 9 php +23 8.0.27-1.el9_1 ALSA-2023:2417, ALSA-2023:0965
AlmaLinux 9 php-pecl-rrd 2.0.3-4.module_el9.1.0+15+94ba28e4 ALSA-2023:2417
AlmaLinux 9 php-pecl-xdebug3 3.1.4-1.module_el9.1.0+15+94ba28e4 ALSA-2023:2417
AlmaLinux 9 php-pecl-zip 1.20.1-1.module_el9.1.0+15+94ba28e4 ALSA-2023:2417
AlmaLinux 8 apcu-panel +2 5.1.18-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903, ALSA-2023:0848
AlmaLinux 8 libzip +2 1.6.1-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903, ALSA-2023:0848
AlmaLinux 8 php +25 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903, ALSA-2023:0848
AlmaLinux 8 php-pear 1:1.10.13-1.module_el8.6.0+2739+efabdb8f ALSA-2023:2903, ALSA-2023:0848
AlmaLinux 8 php-pecl-rrd 2.0.1-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903, ALSA-2023:0848
AlmaLinux 8 php-pecl-xdebug 2.9.5-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903
AlmaLinux 8 php-pecl-xdebug3 3.1.2-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 php-pecl-zip 1.18.2-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903, ALSA-2023:0848

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 php 8.0.27-1.el9_1 RLSA-2023:0965
Rocky Linux 9 php-pecl-apcu 5.1.21-1.module+el9.7.0+40003+454ed3c4 RLSA-2023:2417
Rocky Linux 9 php-pecl-rrd 2.0.3-4.module+el9.7.0+40003+454ed3c4 RLSA-2023:2417
Rocky Linux 9 php-pecl-xdebug3 3.1.4-1.module+el9.7.0+40003+454ed3c4 RLSA-2023:2417
Rocky Linux 9 php-pecl-zip 1.20.1-1.module+el9.7.0+40003+454ed3c4 RLSA-2023:2417
Rocky Linux 8 libzip 1.6.1-1.module+el8.10.0+1604+6558efc7 RLSA-2023:2903, RLSA-2023:0848
Rocky Linux 8 php 7.4.33-1.module+el8.10.0+1604+6558efc7 RLSA-2023:2903, RLSA-2023:0848
Rocky Linux 8 php-pear 1:1.10.13-1.module+el8.7.0+1067+0a7071cc RLSA-2023:2903, RLSA-2023:0848
Rocky Linux 8 php-pecl-apcu 5.1.18-1.module+el8.10.0+1604+6558efc7 RLSA-2023:2903, RLSA-2023:0848
Rocky Linux 8 php-pecl-rrd 2.0.1-1.module+el8.4.0+414+2e7afcdd RLSA-2023:2903, RLSA-2023:0848
Rocky Linux 8 php-pecl-xdebug 2.9.5-1.module+el8.10.0+1604+6558efc7 RLSA-2023:2903
Rocky Linux 8 php-pecl-xdebug3 3.1.2-1.module+el8.6.0+790+fc63e43f RLSA-2023:0848
Rocky Linux 8 php-pecl-zip 1.18.2-1.module+el8.10.0+1604+6558efc7 RLSA-2023:2903, RLSA-2023:0848
ReleasePackageFixed inAdvisory
SLES 15 SP4 php7 +4 7.4.33-150400.4.13.1 SUSE-SU-2022:3997-1
SLES 15 SP4 php8 +5 8.0.25-150400.4.17.1 SUSE-SU-2022:4005-1
SLES 15 SP4 python3 +1 3.6.15-150300.10.37.2 SUSE-SU-2022:4281-1
SLES 15 SP3 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SLES 15 SP3 python3 +1 3.6.15-150300.10.37.2 SUSE-SU-2022:4281-1
SLES 15 SP3 python39 +1 3.9.16-150300.4.24.1 SUSE-SU-2023:0707-1
SLES 15 SP2 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SLES 15 SP2 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SLES 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES 15 SP1 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SLES 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES 15 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
Show 24 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 php74 7.4.33-1.47.2 SUSE-SU-2022:4068-1
SLES 12 SP5 python36 +1 3.6.15-32.2 SUSE-SU-2022:4274-1
SLES 12 php74 7.4.33-1.47.2 SUSE-SU-2022:4068-1
SLES 3 python310 +1 3.10.10-150400.4.22.1 SUSE-SU-2023:0748-1
SLES for SAP 15 SP3 python39 +1 3.9.16-150300.4.24.1 SUSE-SU-2023:0707-1
SLES for SAP 15 SP2 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SLES for SAP 15 SP2 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SLES for SAP 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES for SAP 15 SP1 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SLES for SAP 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES for SAP 15 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SLES for SAP 12 SP5 python36 +1 3.6.15-32.2 SUSE-SU-2022:4274-1
SLE Real Time 15 SP3 python39 +1 3.9.16-150300.4.24.1 SUSE-SU-2023:0707-1
SLE Micro 5.3 python3 +1 3.6.15-150300.10.37.2 SUSE-SU-2022:4281-1
SLE Micro 5.2 python3 +1 3.6.15-150300.10.37.2 SUSE-SU-2022:4281-1
SLE Micro 5.1 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SLE HPC 15 SP3 python39 +1 3.9.16-150300.4.24.1 SUSE-SU-2023:0707-1
SLE HPC 15 SP2 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SLE HPC 15 SP2 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SLE HPC 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLE HPC 15 SP1 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SLE HPC 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLE HPC 15 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SUSE Manager Server 4.2 python39 +1 3.9.16-150300.4.24.1 SUSE-SU-2023:0707-1
SUSE Manager Server 4.1 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SUSE Manager Server 4.1 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SUSE Manager Retail Branch Server 4.1 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SUSE Manager Retail Branch Server 4.1 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SUSE Manager Proxy 4.2 python39 +1 3.9.16-150300.4.24.1 SUSE-SU-2023:0707-1
SUSE Manager Proxy 4.1 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SUSE Manager Proxy 4.1 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SUSE Enterprise Storage 7.1 python39 +1 3.9.16-150300.4.24.1 SUSE-SU-2023:0707-1
SUSE Enterprise Storage 7 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SUSE Enterprise Storage 7 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
SUSE Enterprise Storage 6 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SUSE Enterprise Storage 6 python3 +1 3.6.15-150000.3.116.1 SUSE-SU-2022:3924-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php7 7.4.33-1.1 openSUSE-SU-2024:12476-1
openSUSE Tumbleweed python310 3.10.9-1.1 openSUSE-SU-2024:12563-1
openSUSE Tumbleweed python38 3.8.15-3.1 openSUSE-SU-2024:12461-1
openSUSE Tumbleweed python39 3.9.16-1.1 openSUSE-SU-2024:12559-1
openSUSE Leap 15.4 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4069-1, SUSE-SU-2022:4067-1, SUSE-SU-2022:3997-1
openSUSE Leap 15.4 php7-fpm +3 7.4.33-150400.4.13.1 SUSE-SU-2022:3997-1
openSUSE Leap 15.4 php7-test 7.4.33-150400.4.13.2 SUSE-SU-2022:3997-1
openSUSE Leap 15.4 php8 +5 8.0.25-150400.4.17.1 SUSE-SU-2022:4005-1
openSUSE Leap 15.4 python3 +1 3.6.15-150300.10.37.2 SUSE-SU-2022:4281-1
openSUSE Leap 15.4 python3-documentation 3.6.15-150300.10.37.1 SUSE-SU-2022:4281-1
openSUSE Leap 15.4 python310 +2 3.10.10-150400.4.22.1 SUSE-SU-2023:0748-1
openSUSE Leap 15.4 python39 +2 3.9.16-150300.4.24.1 SUSE-SU-2023:0707-1
openSUSE Leap 15.3 php7 +1 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
openSUSE Leap 15.3 python3 +1 3.6.15-150300.10.37.2 SUSE-SU-2022:4281-1
openSUSE Leap 15.3 python3-documentation 3.6.15-150300.10.37.1 SUSE-SU-2022:4281-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 python3 +1 3.6.15-150300.10.37.2 SUSE-SU-2022:4281-1
openSUSE Leap Micro 5.2 python3 +1 3.6.15-150300.10.37.2 SUSE-SU-2022:4281-1
ReleasePackageFixed inAdvisory
Alpine v3.22 php82 8.2.0_rc5-r0 —
Alpine v3.21 php82 8.2.0_rc5-r0 —
Alpine v3.20 php82 8.2.0_rc5-r0 —
Alpine v3.19 php81 8.1.12-r0 —
Alpine v3.19 php82 8.2.0_rc5-r0 —
Alpine v3.18 php81 8.1.12-r0 —
Alpine v3.18 php82 8.2.0_rc5-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.17 php81 8.1.12-r0 —
Alpine v3.17 python3 3.10.9-r0 —
Alpine v3.16 php8 8.0.25-r0 —
Alpine v3.16 php81 8.1.12-r0 —
Alpine v3.16 python3 3.10.9-r0 —
Alpine v3.15 php7 7.4.33-r0 —
Alpine v3.15 php8 8.0.25-r0 —
Alpine v3.14 php7 7.4.33-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 php8.1 +23 8.1.14-1.amzn2023.0.2 ALAS2023-2023-081
Amazon Linux 2 python3 +6 3.7.15-1.amzn2.0.2 ALAS2-2022-1897

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) php 8.1.12-1 —
Azure Linux 2 (CBL-Mariner) python3 3.9.14-5 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 apcu-panel +2 5.1.21-1.module+el9.1.0+20776+c1b960c0 ELSA-2023-2417
Oracle Linux 9 php +23 8.0.27-1.el9_1 ELSA-2023-2417, ELSA-2023-0965
Oracle Linux 9 php-pecl-rrd 2.0.3-4.module+el9.1.0+20776+c1b960c0 ELSA-2023-2417
Oracle Linux 9 php-pecl-xdebug3 3.1.4-1.module+el9.1.0+20776+c1b960c0 ELSA-2023-2417
Oracle Linux 9 php-pecl-zip 1.20.1-1.module+el9.1.0+20776+c1b960c0 ELSA-2023-2417
Oracle Linux 8 apcu-panel +2 5.1.18-1.module+el8.3.0+7685+72d70b58 ELSA-2023-2903, ELSA-2023-0848
Oracle Linux 8 libzip +2 1.6.1-1.module+el8.3.0+7685+72d70b58 ELSA-2023-2903, ELSA-2023-0848
Oracle Linux 8 php +25 7.4.33-1.module+el8.8.0+20974+ef7eddfa ELSA-2023-2903, ELSA-2023-0848
Oracle Linux 8 php-pear 1:1.10.13-1.module+el8.6.0+20568+84712317 ELSA-2023-2903, ELSA-2023-0848
Oracle Linux 8 php-pecl-rrd 2.0.1-1.module+el8.3.0+7685+72d70b58 ELSA-2023-2903, ELSA-2023-0848
Oracle Linux 8 php-pecl-xdebug 2.9.5-1.module+el8.3.0+7685+72d70b58 ELSA-2023-2903
Oracle Linux 8 php-pecl-xdebug3 3.1.2-1.module+el8.6.0+20568+84712317 ELSA-2023-0848
Oracle Linux 8 php-pecl-zip 1.18.2-1.module+el8.3.0+7685+72d70b58 ELSA-2023-2903, ELSA-2023-0848

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pysha3 <= 1.0.2 — PYSEC-2026-504
RubyGems sha3 < 1.0.5 1.0.5 GHSA-6w4m-2xhg-2658

Advisories 50

References