CVE-2022-37454 in the critical feed json
Buffer overflow in sponge queue functions
published 2022-10-21 4 y ago modified 2026-10-14 25 d ago also 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 , EUVD-2023-1219 , GHSA-6w4m-2xhg-2658 , PYSEC-2026-504
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.4%
- EPSS 7.4% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems sha3 1.0.5
- bitnami libphp 7.4.33, 8.0.25, 8.1.12
- bitnami libpython 3.7.16, 3.8.16, 3.9.16, 3.10.9
- bitnami php 7.4.33, 8.0.25, 8.1.12
- bitnami php-min 7.4.33, 8.0.25, 8.1.12
- bitnami python 3.7.16, 3.8.16, 3.9.16, 3.10.9
- bitnami python-min 3.7.16, 3.8.16, 3.9.16, 3.10.9
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- pypy3 Debian 14, Debian 13, Debian 12 7.3.9+dfsg-5
debian advisories DEBIAN-CVE-2022-37454
- pypy3 Ubuntu 20.04 LTS 7.3.1+dfsg-4ubuntu0.1
- pypy3 Ubuntu 22.04 LTS 7.3.9+dfsg-1ubuntu0.1
- php7.2 Ubuntu 18.04 LTS 7.2.24-0ubuntu0.18.04.15
- php7.4 Ubuntu 20.04 LTS 7.4.3-4ubuntu2.15
- php8.1 Ubuntu 22.04 LTS 8.1.2-1ubuntu2.8
- pysha3 Ubuntu 20.04 LTS 1.0.2-4ubuntu0.1
- pysha3 Ubuntu 22.04 LTS 1.0.2-4.2ubuntu0.22.04.1
- python3.6 Ubuntu 18.04 LTS 3.6.9-1~18.04ubuntu1.10
ubuntu advisories UBUNTU-CVE-2022-37454
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php RHEL 8 7.4.33-1.module+el8.8.0+17865+ef7eddfa
- libzip RHEL 8 1.6.1-1.module+el8.3.0+6678+b09f589e
- php-gd RHEL 8 7.4.33-1.module+el8.8.0+17865+ef7eddfa
- php-cli RHEL 8 7.4.33-1.module+el8.8.0+17865+ef7eddfa
- php-dba RHEL 8 7.4.33-1.module+el8.8.0+17865+ef7eddfa
- php-dbg RHEL 8 7.4.33-1.module+el8.8.0+17865+ef7eddfa
- php-ffi RHEL 8 7.4.33-1.module+el8.8.0+17865+ef7eddfa
- php-fpm RHEL 8 7.4.33-1.module+el8.8.0+17865+ef7eddfa
red hat advisories RHSA-2023:2903RHSA-2023:2417RHSA-2023:0965RHSA-2023:0848
- python310 SLE Module for Python 3 15 SP4, openSUSE Leap 15.4 3.10.10-150400.4.22.1
- python310-core SLE Module for Python 3 15 SP4, openSUSE Leap 15.4 3.10.10-150400.4.22.1
- python310-documentation openSUSE Leap 15.4 3.10.10-150400.4.22.1
- python39 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +6 more 3.9.16-150300.4.24.1
- python39-core SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +6 more 3.9.16-150300.4.24.1
- python39-documentation openSUSE Leap 15.4 3.9.16-150300.4.24.1
- python3 SLE Module for Basesystem 15 SP4, SLE Module for Basesystem 15 SP3, SLE Micro 5.3 +5 more 3.6.15-150300.10.37.2
- python3-core SLE Module for Development Tools 15 SP4, SLE Module for Development Tools 15 SP3, SLE Module for Basesystem 15 SP4 +7 more 3.6.15-150300.10.37.2
suse advisories SUSE-SU-2023:0748-1SUSE-SU-2023:0707-1SUSE-SU-2022:4281-1SUSE-SU-2022:4274-1SUSE-SU-2022:4069-1SUSE-SU-2022:4068-1
- python38 openSUSE Tumbleweed 3.8.15-3.1
- php7 openSUSE Tumbleweed 7.4.33-1.1
- python39 openSUSE Tumbleweed 3.9.16-1.1
- python310 openSUSE Tumbleweed 3.10.9-1.1
opensuse advisories openSUSE-SU-2024:12461-1openSUSE-SU-2024:12476-1openSUSE-SU-2024:12559-1openSUSE-SU-2024:12563-1
- php AlmaLinux 8 7.4.33-1.module_el8.8.0+3477+f828cbb0
- libzip AlmaLinux 8 1.6.1-1.module_el8.6.0+2750+78feabcb
- libzip AlmaLinux 8 1.6.1-1.module_el8.6.0+3239+bedf0508
- php-gd AlmaLinux 8 7.4.33-1.module_el8.8.0+3477+f828cbb0
- php-cli AlmaLinux 8 7.4.33-1.module_el8.8.0+3477+f828cbb0
- php-dba AlmaLinux 8 7.4.33-1.module_el8.8.0+3477+f828cbb0
- php-dbg AlmaLinux 8 7.4.33-1.module_el8.8.0+3477+f828cbb0
- php-ffi AlmaLinux 8 7.4.33-1.module_el8.8.0+3477+f828cbb0
almalinux advisories ALSA-2023:2903ALSA-2023:2417ALSA-2023:0965ALSA-2023:0848
- php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.7.0+40005+715283ec
- php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.7.0+40004+bf50a568
- php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.7.0+40003+454ed3c4
- php-pecl-zip Rocky Linux 9 1.20.1-1.module+el9.7.0+40003+454ed3c4
- php-pecl-apcu Rocky Linux 9 5.1.21-1.module+el9.7.0+40003+454ed3c4
- php-pecl-xdebug3 Rocky Linux 9 3.1.4-1.module+el9.7.0+40003+454ed3c4
- php Rocky Linux 8 7.4.33-1.module+el8.10.0+1604+6558efc7
- libzip Rocky Linux 8 1.6.1-1.module+el8.10.0+1912+72767185
rocky linux advisories RLSA-2023:2417RLSA-2023:2903RLSA-2023:0965RLSA-2023:0848
- php7 Alpine 3.15, Alpine 3.14 7.4.33-r0
- php8 Alpine 3.16, Alpine 3.15 8.0.25-r0
- php81 Alpine 3.19, Alpine 3.18, Alpine 3.17 +1 more 8.1.12-r0
- php82 Alpine 3.22, Alpine 3.21, Alpine 3.20 +2 more 8.2.0_rc5-r0
- python3 Alpine 3.17, Alpine 3.16 3.10.9-r0
alpine advisories ALPINE-CVE-2022-37454
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php CBL-Mariner 2.0 8.1.12-1
- python3 CBL-Mariner 2.0 3.9.14-5
azure linux advisories AZL-11501AZL-11503
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-37454 updated cvss 8.1
XKCP: buffer overflow in the SHA-3 reference implementation
-
Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Software Collections rh-php73-php, rh-php73-php-gd, rh-php73-php-cli, rh-php73-php-dba, rh-php73-php-dbg, rh-php73-php-fpm, +22 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) php 7.4.33-1.module+el8.8.0+17865+ef7eddfa, php 8.0.27-1.module+el8.7.0+17863+0ad92cd2, libzip 1.6.1-1.module+el8.3.0+6678+b09f589e, libzip 1.7.3-1.module+el8.6.0+13671+84712317, php-gd 7.4.33-1.module+el8.8.0+17865+ef7eddfa, php-gd 8.0.27-1.module+el8.7.0+17863+0ad92cd2, +60 morefixed: vendor fix RHSA-2023:0848
-
Red Hat Enterprise Linux AppStream (v. 9) php 8.0.27-1.el9_1, php-gd 8.0.27-1.el9_1, php-cli 8.0.27-1.el9_1, php-dba 8.0.27-1.el9_1, php-dbg 8.0.27-1.el9_1, php-ffi 8.0.27-1.el9_1, +47 morefixed: vendor fix RHSA-2023:0965
-
Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +4 more Red Hat Enterprise Linux 8 pytz, babel, numpy, scipy, Cython, PyYAML, +127 more Red Hat Enterprise Linux 9 python3, python3.9, python3-idle, python3-libs, python3-test, python3-tkinter, +1 more Red Hat Software Collections rh-python38-python, rh-python38-python-idle, rh-python38-python-libs, rh-python38-python-test, rh-python38-python-tkinter, rh-python38-python-rpm-macros, +1 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-348-10 updated cvss 9.8
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-24-102-04 updated cvss 9.8
Siemens RUGGEDCOM APE1808
-
Siemens RUGGEDCOM APE1808affected: vendor fix
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-24-046-11 updated cvss 9.8
Siemens SCALANCE XCM-/XRM-300
-
Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4affected: fixed in V2.4 support.industry.siemens.com
+5 more productsfewer
Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
7.41% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- mouha.be https://mouha.be/sha-3-buffer-overflow/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pysha3 | <=1.0.2 |
no fix listed |
| rubygems | sha3 | <1.0.5 |
1.0.5 |
| bitnami | libphp | >=7.2.0, <7.4.33 >=8.0.0, <8.0.25 >=8.1.0, <8.1.12 |
7.4.33 8.0.25 8.1.12 |
| bitnami | libpython | >=3.6.0, <3.7.16 >=3.8.0, <3.8.16 >=3.9.0, <3.9.16 >=3.10.0, <3.10.9 |
3.7.16 3.8.16 3.9.16 3.10.9 |
| bitnami | php | >=7.2.0, <7.4.33 >=8.0.0, <8.0.25 >=8.1.0, <8.1.12 |
7.4.33 8.0.25 8.1.12 |
| bitnami | php-min | >=7.2.0, <7.4.33 >=8.0.0, <8.0.25 >=8.1.0, <8.1.12 |
7.4.33 8.0.25 8.1.12 |
| bitnami | python | >=3.6.0, <3.7.16 >=3.8.0, <3.8.16 >=3.9.0, <3.9.16 >=3.10.0, <3.10.9 |
3.7.16 3.8.16 3.9.16 3.10.9 |
| bitnami | python-min | >=3.6.0, <3.7.16 >=3.8.0, <3.8.16 >=3.9.0, <3.9.16 >=3.10.0, <3.10.9 |
3.7.16 3.8.16 3.9.16 3.10.9 |
Affected products
- Siemens RUGGEDCOM APE1808
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
- Technology feeds
References
-
github.com
/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658
web, patch, third-party-advisory, advisory
-
github.com
/XKCP/XKCP/commit/fdc6fef075f4e81d6b1bc38364248975e08e340a
web
-
github.com
/johanns/sha3/commit/5f2e8118a62831911703c8753ff2435c3b5d7312
web
-
mouha.be
/sha-3-buffer-overflow/
exploit, third-party-advisory, advisory
-
csrc.nist.gov
/projects/hash-functions/sha-3-project
web, third-party-advisory, us-government-resource, advisory
-
news.ycombinator.com
/item?id=33281106
web, issue-tracking, third-party-advisory, advisory
-
lists.debian.org
/debian-lts-announce/2022/10/msg00041.html
web, mailing-list, third-party-advisory, advisory
-
lists.debian.org
/debian-lts-announce/2022/11/msg00000.html
web, mailing-list, third-party-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4/
mailing-list, third-party-advisory, advisory
-
debian.org
/security/2022/dsa-5267
web, third-party-advisory, advisory
-
debian.org
/security/2022/dsa-5269
web, third-party-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ/
mailing-list, third-party-advisory, advisory
-
eprint.iacr.org
/2023/331
web
-
news.ycombinator.com
/item?id=35050307
web
-
security.gentoo.org
/glsa/202305-02
web
-
security.netapp.com
/advisory/ntap-20230203-0001/
web
- cert-portal.siemens.com /productcert/html/ssa-398330.html
- cert-portal.siemens.com /productcert/html/ssa-806742.html
- cert-portal.siemens.com /productcert/html/ssa-455250.html
-
nvd.nist.gov
/vuln/detail/CVE-2022-37454
advisory, web
-
github.com
/XKCP/XKCP/issues/105
web
-
github.com
/johanns/sha3/issues/17
web
-
github.com
/tiran/pysha3/issues/29
web
-
mouha.be
/sha-3-buffer-overflow
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/sha3/CVE-2022-37454.yml
web
-
pypi.org
/project/pysha3
package
-
github.com
/advisories/GHSA-6w4m-2xhg-2658
advisory
Sources
- CVE List CVE-2022-37454
- GitHub Advisory GHSA-6w4m-2xhg-2658
- NVD CVE-2022-37454
- OSV BIT-libphp-2022-37454
- OSV BIT-libpython-2022-37454
- OSV BIT-php-2022-37454
- OSV BIT-php-min-2022-37454
- OSV BIT-python-2022-37454
- OSV BIT-python-min-2022-37454
- OSV PYSEC-2026-504
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.