CVE-2022-37454
CRITICAL 9.8CVSS 3.1Buffer overflow in sponge queue functions
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.
- Published
- 21 Oct 2022
- Last modified
- 16 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-190
- Also known as
- BIT-libphp-2022-37454BIT-libpython-2022-37454BIT-php-2022-37454BIT-php-min-2022-37454BIT-python-2022-37454BIT-python-min-2022-37454GHSA-6w4m-2xhg-2658PSF-2022-11PYSEC-2026-504
- Sources
- NVDJSONOSV GHSA-6w4m-2xhg-2658JSONOSV PYSEC-2026-504JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | extended_keccak_code_package_project | extended_keccak_code_packagecpe:2.3:a:extended_keccak_code_package_project:extended_keccak_code_package:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
>= 7.2.0, < 7.4.33 | 7.4.33 |
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
>= 8.0.0, < 8.0.25 | 8.0.25 |
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
>= 8.1.0, < 8.1.12 | 8.1.12 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.6.0, < 3.7.16 | 3.7.16 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.8.0, < 3.8.16 | 3.8.16 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.9.0, < 3.9.16 | 3.9.16 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.10.0, < 3.10.9 | 3.10.9 |
| NVD | sha3_project | sha3cpe:2.3:a:sha3_project:sha3:*:*:*:*:*:ruby:*:* |
< 1.0.5 | 1.0.5 |
| NVD | pysha3_project | pysha3cpe:2.3:a:pysha3_project:pysha3:*:*:*:*:*:*:*:* |
all versions | |
| NVD | pypy | pypycpe:2.3:a:pypy:pypy:*:*:*:*:*:*:*:* |
>= 7.0.0 | |
| OSV | PyPI | pysha3 | <= 1.0.2 | |
| OSV | RubyGems | sha3 | < 1.0.5 | 1.0.5 |
References
- https://csrc.nist.gov/projects/hash-functions/sha-3-project · Third Party Advisory, US Government Resource, WEB
- https://eprint.iacr.org/2023/331 · WEB
- https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658 · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/10/msg00041.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/11/msg00000.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4/ · Mailing List, Third Party Advisory, WEB
- https://mouha.be/sha-3-buffer-overflow/ · Exploit, Third Party Advisory, WEB
- https://news.ycombinator.com/item?id=33281106 · Issue Tracking, Third Party Advisory, WEB
- https://news.ycombinator.com/item?id=35050307 · WEB
- https://security.gentoo.org/glsa/202305-02 · WEB
- https://www.debian.org/security/2022/dsa-5267 · Third Party Advisory, WEB
- https://www.debian.org/security/2022/dsa-5269 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230203-0001/ · WEB
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html · WEB
- https://cert-portal.siemens.com/productcert/html/ssa-455250.html · WEB
- https://cert-portal.siemens.com/productcert/html/ssa-806742.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-37454 · ADVISORY
- https://github.com/tiran/pysha3/issues/29 · WEB
- https://github.com/XKCP/XKCP/issues/105 · WEB
- https://github.com/johanns/sha3/issues/17 · WEB
- https://github.com/XKCP/XKCP/commit/fdc6fef075f4e81d6b1bc38364248975e08e340a · WEB
- https://github.com/johanns/sha3/commit/5f2e8118a62831911703c8753ff2435c3b5d7312 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4 · WEB
- https://pypi.org/project/pysha3 · WEB, PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sha3/CVE-2022-37454.yml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/pysha3/PYSEC-2026-504.yaml · WEB
- https://github.com/advisories/GHSA-6w4m-2xhg-2658 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 21 Oct 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Apr 2023)