CVE-2022-37454: Integer Overflow

Published Oct 21, 2022
·
Updated

Fixed bug : buffer overflow in hashupdate() on long parameter. (CVE-2022-37454)

Other sources

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.

Launchpad

Affected Software

22 affected componentsFixes available
debian/pysha3<=1.0.2-2, <=1.0.2-4.1, <=1.0.2-4.2
1.0.2-4.1+deb11u11.0.2-5
PHP PHP<8.0.25
8.0.25
Extended Keccak Code Package Project Extended Keccak Code Package
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Fedoraproject Fedora=35
Fedoraproject Fedora=36
PHP PHP>=7.2.0<7.4.33
PHP PHP>=8.0.0<8.0.25
PHP PHP>=8.1.0<8.1.12
Python Python>=3.6.0<3.7.16
Python Python>=3.8.0<3.8.16
Python Python>=3.9.0<3.9.16
Python Python>=3.10.0<3.10.9
Sha3 Project Sha3 Ruby<1.0.5
Pysha3 Project Pysha3
Pypy Pypy>=7.0.0
debian/php7.4
7.4.33-1+deb11u57.4.33-1+deb11u8
debian/pypy3
7.3.5+dfsg-2+deb11u27.3.5+dfsg-2+deb11u47.3.11+dfsg-2+deb12u37.3.19+dfsg-2
debian/pysha3
1.0.2-4.1+deb11u1
debian/python2.7
2.7.18-8+deb11u1
debian/python3.9<=3.9.2-1, <=3.9.2-1+deb11u3

Event History

Oct 21, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Jan 12, 2024
Data Sourced
via Launchpad·06:01 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·06:33 PM
RemedyDescriptionSeverityAffected Software
Feb 28, 2025
Data Sourced
via Debian·05:23 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-37454?

CVE-2022-37454 is a fixed bug in the Keccak XKCP SHA-3 reference implementation that allows attackers to execute arbitrary code or eliminate expected cryptographic properties.

2

How does CVE-2022-37454 impact PHP?

CVE-2022-37454 affects PHP versions up to 7.4.33 and can be exploited to execute arbitrary code.

3

How can I fix CVE-2022-37454 in PHP?

To fix CVE-2022-37454 in PHP, update to version 7.4.33 or later.

4

What is the affected software for CVE-2022-37454?

The affected software includes PHP versions up to 7.4.33, PHP 7.3.31-1~deb10u4, PHP 7.4.33-1+deb11u3 and 7.4.33-1+deb11u4, PyPy3 versions 7.0.0+dfsg-3, 7.3.5+dfsg-2+deb11u2, 7.3.11+dfsg-2, and 7.3.12+dfsg-1, pysha3 versions 1.0.2-2+deb10u1 and 1.0.2-4.1+deb11u1, Python 2.7.16-2+deb10u1, 2.7.16-2+deb10u2, and 2.7.18-8, Python 3.10.12-1, Python 3.7.3-2+deb10u5, and Python 3.9 versions up to 3.9.2-1.

5

Where can I find more information about CVE-2022-37454?

More information about CVE-2022-37454 can be found in the PHP changelog at https://www.php.net/ChangeLog-7.php#7.4.33 and the XKCP/XKCP GitHub repository at https://github.com/XKCP/XKCP/security/advisories/GHSA-6w4m-2xhg-2658. The specific fix is available in the commit fdc6fef075f4e81d6b1bc38364248975e08e340a.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203