# CVE-2022-37454: Buffer overflow in sponge queue functions

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 7.41%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-10-21T00:00:00.000Z
- Modified: 2026-11-16T16:15:06.806Z
- Also known as: GHSA-6w4m-2xhg-2658, 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, PSF-2022-11, PYSEC-2026-504
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pysha3 (PyPI): up to 1.0.2
- sha3 (RubyGems): before 1.0.5
- https://github.com/python/cpython: before 0e4e058602d93b88256ff90bbef501ba20be9dd3; before 8088c90044ba04cd5624b278340ebf934dbee4a5; before 857efee6d2d43c5c12fc7e377ce437144c728ab8; before 948c6794711458fd148a3fa62296cadeeb2ed631
- extended_keccak_code_package_project extended_keccak_code_package: no versions given
- debian debian_linux: 10.0; 11.0
- fedoraproject fedora: 35; 36
- php php: from 7.2.0 before 7.4.33; from 8.0.0 before 8.0.25; from 8.1.0 before 8.1.12
- python python: from 3.6.0 before 3.7.16; from 3.8.0 before 3.8.16; from 3.9.0 before 3.9.16; from 3.10.0 before 3.10.9
- sha3_project sha3: before 1.0.5
- pysha3_project pysha3: no versions given
- pypy pypy: from 7.0.0
- libphp (Bitnami): from 7.2.0 before 7.4.33; from 8.0.0 before 8.0.25; from 8.1.0 before 8.1.12
- libpython (Bitnami): from 3.6.0 before 3.7.16; from 3.8.0 before 3.8.16; from 3.9.0 before 3.9.16; from 3.10.0 before 3.10.9
- php (Bitnami): from 7.2.0 before 7.4.33; from 8.0.0 before 8.0.25; from 8.1.0 before 8.1.12
- php-min (Bitnami): from 7.2.0 before 7.4.33; from 8.0.0 before 8.0.25; from 8.1.0 before 8.1.12
- python (Bitnami): from 3.6.0 before 3.7.16; from 3.8.0 before 3.8.16; from 3.9.0 before 3.9.16; from 3.10.0 before 3.10.9
- python-min (Bitnami): from 3.6.0 before 3.7.16; from 3.8.0 before 3.8.16; from 3.9.0 before 3.9.16; from 3.10.0 before 3.10.9

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://mouha.be/sha-3-buffer-overflow/> (exploit, advisory, third-party-advisory, web)
- <https://csrc.nist.gov/projects/hash-functions/sha-3-project> (advisory, third-party-advisory, us-government-resource, web)
- <https://news.ycombinator.com/item?id=33281106> (advisory, issue-tracking, third-party-advisory, web)
- <https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658> (advisory, patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/10/msg00041.html> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00000.html> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4/> (advisory, mailing-list, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5267> (advisory, third-party-advisory, web)
- <https://www.debian.org/security/2022/dsa-5269> (advisory, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ/> (advisory, mailing-list, third-party-advisory)
- <https://eprint.iacr.org/2023/331> (web)
- <https://news.ycombinator.com/item?id=35050307> (web)
- <https://security.gentoo.org/glsa/202305-02> (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-806742.html> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-455250.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-37454> (advisory, web)
- <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://mouha.be/sha-3-buffer-overflow> (web)
- <https://pypi.org/project/pysha3> (package, web)
- <https://security.netapp.com/advisory/ntap-20230203-0001> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMIEXLMTW5GO36HTFFWIPB3OHZXCT3G4> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ALQ6BDDPX5HU5YBQOBMDVAA2TSGDKIJ> (web)
- <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/python/cpython/issues/98517> (report)
- <https://bugzilla.suse.com/show_bug.cgi?id=CVE-2022-37454> (web)
- <https://github.com/advisories/GHSA-6w4m-2xhg-2658> (advisory)

## Sources

- CVE List: [CVE-2022-37454](https://www.cve.org/CVERecord?id=CVE-2022-37454), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-6w4m-2xhg-2658](https://github.com/advisories/GHSA-6w4m-2xhg-2658), CC-BY-4.0, modified 2026-11-16
- Python Software Foundation: [PSF-2022-11](https://osv.dev/vulnerability/PSF-2022-11), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2022-37454](https://nvd.nist.gov/vuln/detail/CVE-2022-37454), Public domain, modified 2026-10-14
- PyPA Advisory Database: [PYSEC-2026-504](https://osv.dev/vulnerability/PYSEC-2026-504), CC-BY-4.0, modified 2026-07-01
- Bitnami Vulnerability Database: [BIT-LIBPHP-2022-37454](https://osv.dev/vulnerability/BIT-LIBPHP-2022-37454), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2022-37454](https://osv.dev/vulnerability/BIT-LIBPYTHON-2022-37454), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-2022-37454](https://osv.dev/vulnerability/BIT-PHP-2022-37454), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2022-37454](https://osv.dev/vulnerability/BIT-PHP-MIN-2022-37454), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-2022-37454](https://osv.dev/vulnerability/BIT-PYTHON-2022-37454), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2022-37454](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2022-37454), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-37454 · Whole record: https://cve.day/CVE-2022-37454.json · Rebuilt by cve.day 2026-11-25T22:58:15.941Z
