cve.bz

CVE-2022-37454 Year 2038 problem, Y2K38, Y2038, Epochalypse

9.8 criticalExploit referenceEPSS 7.4%Fix available

Critical (9.8). EPSS 7.4% estimated probability of exploitation activity in the next 30 days. Fixed in sha3 1.0.5.

On this page
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.

Severity

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
EPSS
7.4% (unchanged from 7.4% a week ago; 7.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2025-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-37454 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-37454?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-37454?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-37454 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux10.0
debian:debian_linux11.0
fedoraproject:fedora35
fedoraproject:fedora36
php:phpfrom 7.2.0 before 7.4.33
php:phpfrom 8.0.0 before 8.0.25
php:phpfrom 8.1.0 before 8.1.12
python:pythonfrom 3.6.0 before 3.7.16
python:pythonfrom 3.8.0 before 3.8.16
python:pythonfrom 3.9.0 before 3.9.16
python:pythonfrom 3.10.0 before 3.10.9
sha3_project:sha3before 1.0.5
pypy:pypy7.0.0 and later

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6w4m-2xhg-2658PyPIpysha3<=1.0.2no fix published
GHSA-6w4m-2xhg-2658RubyGemssha3<1.0.51.0.5
PYSEC-2026-504PyPIpysha3<=1.0.2no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10php7.37.3.31-1~deb10u2DLA-3243-1
Debian10pysha31.0.2-2+deb10u1DLA-3174-1
Debian10python3.73.7.3-2+deb10u4DLA-3175-1
Debian11php7.47.4.33-1+deb11u1DSA-5277-1
Debian11pypy37.3.5+dfsg-2+deb11u2DSA-5269-1
Debian11pysha31.0.2-4.1+deb11u1DSA-5267-1
Debian11python3.93.9.2-1+deb11u4DLA-4445-1
Debian12, 13, 14pypy37.3.9+dfsg-5DEBIAN-CVE-2022-37454
Ubuntu18.04:LTSphp7.27.2.24-0ubuntu0.18.04.15UBUNTU-CVE-2022-37454 USN-5717-1
Ubuntu18.04:LTSpython2.72.7.17-1~18.04ubuntu1.10USN-5767-1
Ubuntu18.04:LTSpython3.63.6.9-1~18.04ubuntu1.10UBUNTU-CVE-2022-37454 USN-5767-1 USN-5767-3
Ubuntu20.04:LTSphp7.47.4.3-4ubuntu2.15UBUNTU-CVE-2022-37454 USN-5717-1
Ubuntu20.04:LTSpypy37.3.1+dfsg-4ubuntu0.1UBUNTU-CVE-2022-37454 USN-6524-1
Ubuntu20.04:LTSpysha31.0.2-4ubuntu0.1UBUNTU-CVE-2022-37454 USN-6525-1
Ubuntu20.04:LTSpython3.83.8.10-0ubuntu1~20.04.6UBUNTU-CVE-2022-37454 USN-5767-1
Ubuntu22.04:LTSphp8.18.1.2-1ubuntu2.8UBUNTU-CVE-2022-37454 USN-5717-1
Ubuntu22.04:LTSpypy37.3.9+dfsg-1ubuntu0.1UBUNTU-CVE-2022-37454 USN-6524-1
Ubuntu22.04:LTSpysha31.0.2-4.2ubuntu0.22.04.1UBUNTU-CVE-2022-37454 USN-6525-1
Ubuntu22.04:LTSpython3.103.10.6-1~22.04.2UBUNTU-CVE-2022-37454 USN-5767-1
UbuntuPro:16.04:LTSpysha31.0.0-0ubuntu1~ubuntu16.04.2+esm1UBUNTU-CVE-2022-37454 USN-9122-1
4 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.18-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.20-1.module+el8.6.0+13671+84712317RHSA-2023:0848
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.6.1-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.7.3-1.module+el8.6.0+13671+84712317RHSA-2023:0848
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 51 more0:7.4.33-1.module+el8.8.0+17865+ef7eddfaRHSA-2023:2903
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 47 more0:8.0.27-1.module+el8.7.0+17863+0ad92cd2RHSA-2023:0848
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.13-1.module+el8.6.0+13671+84712317RHSA-2023:0848
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.13-1.module+el8.7.0+15127+a450a8dbRHSA-2023:2903
Red Hatenterprise_linux:8::appstreamphp-pecl-rrd, php-pecl-rrd-debuginfo, php-pecl-rrd-debugsource0:2.0.1-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hatenterprise_linux:8::appstreamphp-pecl-rrd, php-pecl-rrd-debuginfo, php-pecl-rrd-debugsource0:2.0.3-1.module+el8.6.0+13671+84712317RHSA-2023:0848
Red Hatenterprise_linux:8::appstreamphp-pecl-xdebug, php-pecl-xdebug-debuginfo, php-pecl-xdebug-debugsource0:2.9.5-1.module+el8.3.0+6678+b09f589eRHSA-2023:2903
Red Hatenterprise_linux:8::appstreamphp-pecl-xdebug3, php-pecl-xdebug3-debuginfo, php-pecl-xdebug3-debugsource0:3.1.2-1.module+el8.6.0+13671+84712317RHSA-2023:0848
8 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 17 morepython3, python3-core3.6.15-150000.3.116.1SUSE-SU-2022:3924-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 morephp77.2.34-150000.4.103.1SUSE-SU-2022:4067-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morephp77.4.33-150200.3.46.2SUSE-SU-2022:4069-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 5 morepython39, python39-core3.9.16-150300.4.24.1SUSE-SU-2023:0707-1
SUSELinux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP3 and 1 morepython3, python3-core3.6.15-150300.10.37.2SUSE-SU-2022:4281-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4python3-core3.6.15-150300.10.37.2SUSE-SU-2022:4281-1
SUSELinux Enterprise Module for Legacy 15 SP4php7, php7-fpm, php7-fastcgi and 1 more7.4.33-150400.4.13.1SUSE-SU-2022:3997-1
SUSELinux Enterprise Module for Package Hub 15 SP4php7-embed7.4.33-150400.4.13.1SUSE-SU-2022:3997-1
SUSELinux Enterprise Module for Python 3 15 SP4python310, python310-core3.10.10-150400.4.22.1SUSE-SU-2023:0748-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP5php747.4.33-1.47.2SUSE-SU-2022:4068-1
SUSELinux Enterprise Module for Web and Scripting 15 SP4php8, php8-fpm, php8-test and 3 more8.0.25-150400.4.17.1SUSE-SU-2022:4005-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5python36, python36-core3.6.15-32.2SUSE-SU-2022:4274-1
1 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3php7, php7-test7.4.33-150200.3.46.2SUSE-SU-2022:4069-1
openSUSELeap 15.3, Leap 15.4python3-documentation3.6.15-150300.10.37.1SUSE-SU-2022:4281-1
openSUSELeap 15.3, Leap 15.4, Leap Micro 5.2 and 1 morepython3, python3-core3.6.15-150300.10.37.2SUSE-SU-2022:4281-1
openSUSELeap 15.4php77.2.34-150000.4.103.1SUSE-SU-2022:4067-1
openSUSELeap 15.4php77.4.33-150200.3.46.2SUSE-SU-2022:4069-1
openSUSELeap 15.4php7, php7-fpm, php7-embed and 2 more7.4.33-150400.4.13.1SUSE-SU-2022:3997-1
openSUSELeap 15.4php7-test7.4.33-150400.4.13.2SUSE-SU-2022:3997-1
openSUSELeap 15.4php8, php8-fpm, php8-test and 3 more8.0.25-150400.4.17.1SUSE-SU-2022:4005-1
openSUSELeap 15.4python310, python310-core, python310-documentation3.10.10-150400.4.22.1SUSE-SU-2023:0748-1
openSUSELeap 15.4python39, python39-core, python39-documentation3.9.16-150300.4.24.1SUSE-SU-2023:0707-1
openSUSETumbleweedphp77.4.33-1.1openSUSE-SU-2024:12476-1
openSUSETumbleweedpython3103.10.9-1.1openSUSE-SU-2024:12563-1
2 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.6.0+2750+78feabcbALSA-2023:2903
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.20-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux8libzip, libzip-devel, libzip-tools1.6.1-1.module_el8.6.0+2750+78feabcbALSA-2023:2903
AlmaLinux8libzip, libzip-devel, libzip-tools1.6.1-1.module_el8.6.0+3239+bedf0508ALSA-2023:2903
AlmaLinux8libzip, libzip-devel, libzip-tools1.7.3-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux8libzip, libzip-devel, libzip-tools1.7.3-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux8php, php-gd, php-cli and 24 more7.4.33-1.module_el8.8.0+3477+f828cbb0ALSA-2023:2903
AlmaLinux8php, php-gd, php-cli and 22 more8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux8php-pear1:1.10.13-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux8php-pear1:1.10.13-1.module_el8.6.0+3268+b150a051ALSA-2023:2903
AlmaLinux8php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.6.0+3239+bedf0508ALSA-2023:2903
AlmaLinux8php-pecl-apcu, php-pecl-apcu-devel5.1.20-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
18 more for AlmaLinux in the JSON.
Rocky Linux8libzip0:1.6.1-1.module+el8.10.0+1604+6558efc7RLSA-2023:2903
Rocky Linux8libzip0:1.6.1-1.module+el8.10.0+1912+72767185RLSA-2023:2903
Rocky Linux8libzip0:1.7.3-1.module+el8.6.0+790+fc63e43fRLSA-2023:0848
Rocky Linux8php0:7.4.33-1.module+el8.10.0+1604+6558efc7RLSA-2023:2903
Rocky Linux8php0:8.0.27-1.module+el8.7.0+1156+de6c8de9RLSA-2023:0848
Rocky Linux8php-pear1:1.10.13-1.module+el8.10.0+1604+6558efc7RLSA-2023:2903
Rocky Linux8php-pear1:1.10.13-1.module+el8.10.0+1605+02e07af7RLSA-2023:2903
Rocky Linux8php-pear1:1.10.13-1.module+el8.10.0+1912+72767185RLSA-2023:2903
Rocky Linux8php-pear1:1.10.13-1.module+el8.7.0+1067+0a7071ccRLSA-2023:0848
Rocky Linux8php-pecl-apcu0:5.1.18-1.module+el8.10.0+1604+6558efc7RLSA-2023:2903
Rocky Linux8php-pecl-apcu0:5.1.18-1.module+el8.10.0+1912+72767185RLSA-2023:2903
Rocky Linux8php-pecl-apcu0:5.1.20-1.module+el8.6.0+790+fc63e43fRLSA-2023:0848
17 more for Rocky Linux in the JSON.
Alpinev3.14, v3.15php77.4.33-r0ALPINE-CVE-2022-37454
Alpinev3.15, v3.16php88.0.25-r0ALPINE-CVE-2022-37454
Alpinev3.16, v3.17python33.10.9-r0ALPINE-CVE-2022-37454
Alpinev3.16, v3.17, v3.18 and 1 morephp818.1.12-r0ALPINE-CVE-2022-37454
Alpinev3.18, v3.19, v3.20 and 2 morephp828.2.0_rc5-r0ALPINE-CVE-2022-37454
Azure Linux2php8.1.12-1AZL-11501
Azure Linux2python33.9.14-5AZL-11503

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Python as shipped with Red Hat Red Hat Enterprise Linux is not affected by this flaw as it uses the OpenSSL SHA-3 implementation.

PHP as shipped with Red Hat Enterprise Linux is affected but not vulnerable by default as it depends of the memory_limit[1] configuration setting to have a value of -1, indicating there is no limit, or to a value bigger than 4G. These values are very unlikely and to reflect this condition PHP was rated with a moderate security impact.

[1]. https://www.php.net/manual/en/ini.core.php#ini.memory-limit

Red Hat's mitigation

Library users can limit the size of partial input data or partial output digest to below 4294967096 bytes. Avoiding the queuing functions altogether by processing the entire input or producing the entire output at once does not trigger this vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8php:8.0-8070020230118114629.ef331662Fixed 2023-02-21RHSA-2023:0848
Red Hat Enterprise Linux 8php:7.4-8080020230118140634.cc342424Fixed 2023-05-16RHSA-2023:2903
Red Hat Enterprise Linux 9php-0:8.0.27-1.el9_1Fixed 2023-02-28RHSA-2023:0965
Red Hat Enterprise Linux 9php:8.1-9020020230120141750.9Fixed 2023-05-09RHSA-2023:2417
Red Hat Enterprise Linux 6phpOut of support scope
Red Hat Enterprise Linux 6pythonNot affected
Red Hat Enterprise Linux 7phpOut of support scope
Red Hat Enterprise Linux 7pythonNot affected
Red Hat Enterprise Linux 7python3Not affected
Red Hat Enterprise Linux 8python27:2.7/python2Not affected
Red Hat Enterprise Linux 8python3Not affected
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
Red Hat Enterprise Linux 8python38:3.8/python38Not affected
Red Hat Enterprise Linux 8python39:3.9/python39Not affected
Red Hat Enterprise Linux 9python3.9Not affected
Red Hat Software Collectionsrh-php73-phpWill not fix
Red Hat Software Collectionsrh-python38-pythonNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-37454.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-102-04Siemens RUGGEDCOM APE18082024-04-09Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM APE1808none listed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON