CVE-2022-37454
Critical 9.8 CVSS 3.1
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.
Description as published by the source, in English.
Key facts
- Published
- 2022-10-21
- Last modified
- 2026-10-14
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
5.4 %
higher than 92 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Debian | Debian Linux | 10.0 | Affected |
| Debian | Debian Linux | 11.0 | Affected |
| Extended Keccak Code Package Project | Extended Keccak Code Package | all versions listed | Affected |
| Fedoraproject | Fedora | 35 | Affected |
| Fedoraproject | Fedora | 36 | Affected |
| Php | Php | ≥ 7.2.0, < 7.4.33 | Affected |
| Php | Php | ≥ 8.0.0, < 8.0.25 | Affected |
| Php | Php | ≥ 8.1.0, < 8.1.12 | Affected |
| Pypy | Pypy | ≥ 7.0.0 | Affected |
| Pysha3 Project | Pysha3 | all versions listed | Affected |
| Python | Python | ≥ 3.10.0, < 3.10.9 | Affected |
| Python | Python | ≥ 3.6.0, < 3.7.16 | Affected |
| Python | Python | ≥ 3.8.0, < 3.8.16 | Affected |
| Python | Python | ≥ 3.9.0, < 3.9.16 | Affected |
| Sha3 Project | Sha3 | < 1.0.5 | Affected |
Weakness type
-
CWE-190: Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…
References
- https://csrc.nist.gov/projects/hash-functions/sha-3-project
- https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658
- https://lists.debian.org/debian-lts-announce/2022/10/msg00041.html
- https://lists.debian.org/debian-lts-announce/2022/11/msg00000.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://mouha.be/sha-3-buffer-overflow/
- https://news.ycombinator.com/item?id=33281106
- https://www.debian.org/security/2022/dsa-5267
- https://www.debian.org/security/2022/dsa-5269
- https://csrc.nist.gov/projects/hash-functions/sha-3-project
- https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658
- https://lists.debian.org/debian-lts-announce/2022/10/msg00041.html
- https://lists.debian.org/debian-lts-announce/2022/11/msg00000.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://mouha.be/sha-3-buffer-overflow/
- https://news.ycombinator.com/item?id=33281106
- https://www.debian.org/security/2022/dsa-5267
- https://www.debian.org/security/2022/dsa-5269
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.