cve.bz

CVE-2022-4900 Out-of-bounds Write

5.5 mediumEPSS 0.4%

Medium (5.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability was found in PHP where setting the environment variable PHP_CLI_SERVER_WORKERS to a large value leads to a heap buffer overflow.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
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-4900 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-4900?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-4900?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-4900 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
php:phpbefore 8.0.22
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11php7.47.4.33-1+deb11u6DEBIAN-CVE-2022-4900 DLA-3920-1
Ubuntu20.04:LTSphp7.47.4.3-4ubuntu2.22UBUNTU-CVE-2022-4900 USN-6757-1 USN-6757-2
Ubuntu22.04:LTSphp8.18.1.2-1ubuntu2.17UBUNTU-CVE-2022-4900 USN-6757-1 USN-6757-2
UbuntuPro:16.04:LTSphp7.07.0.33-0ubuntu0.16.04.16+esm9USN-6757-1
UbuntuPro:18.04:LTSphp7.27.2.24-0ubuntu0.18.04.17+esm3USN-6757-1
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.7.3-1.module+el8.6.0+13671+84712317RHSA-2023:0848
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-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-xdebug3, php-pecl-xdebug3-debuginfo, php-pecl-xdebug3-debugsource0:3.1.2-1.module+el8.6.0+13671+84712317RHSA-2023:0848
Red Hatenterprise_linux:8::appstreamphp-pecl-zip, php-pecl-zip-debuginfo, php-pecl-zip-debugsource0:1.19.2-1.module+el8.6.0+13671+84712317RHSA-2023:0848
SUSELinux Enterprise Module for Legacy 15 SP4php7, php7-fpm, php7-fastcgi and 1 more7.4.33-150400.4.22.1SUSE-SU-2023:1846-1
SUSELinux Enterprise Module for Package Hub 15 SP4php7-embed7.4.33-150400.4.22.1SUSE-SU-2023:1846-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP5php747.4.33-1.56.1SUSE-SU-2023:1847-1
openSUSELeap 15.4php77.4.33-150200.3.54.1SUSE-SU-2023:1583-1
openSUSELeap 15.4php7, php7-fpm, php7-embed and 2 more7.4.33-150400.4.22.1SUSE-SU-2023:1846-1
openSUSELeap 15.4php7-test7.4.33-150400.4.22.2SUSE-SU-2023:1846-1
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.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 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-pecl-apcu, php-pecl-apcu-devel5.1.20-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux8php-pecl-rrd2.0.3-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux8php-pecl-rrd2.0.3-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux8php-pecl-xdebug33.1.2-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux8php-pecl-xdebug33.1.2-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux8php-pecl-zip1.19.2-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux8php-pecl-zip1.19.2-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8php:8.0-8070020230118114629.ef331662Fixed 2023-02-21RHSA-2023:0848
Red Hat Enterprise Linux 6phpOut of support scope
Red Hat Enterprise Linux 7phpOut of support scope
Red Hat Enterprise Linux 8php:7.4/phpFix deferred
Red Hat Enterprise Linux 9phpFix deferred
Red Hat Enterprise Linux 9php:8.1/phpFix deferred
Red Hat Software Collectionsrh-php73-phpFix deferred

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-4900.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-027-02Festo Didactic SE MES PC2024-02-27Commercial Facilities, Communications, Critical Manufacturing, EnergyFesto Didactic SE MES PC shipped with Windows 10none 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

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)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON