Home / php / php / CVE-2022-4900
CVE-2022-4900: is it exploited, and which versions of php are affected and fixed?
CVE-2022-4900 is a memory corruption (buffer overflow) vulnerability in php. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: Red Hat Enterprise Linux 8 all versions (the record names no range), Red Hat Enterprise Linux 9 all versions (the record names no range), Red Hat Software Collections all versions (the record names no range) and 1 more (CVE record by redhat). Fixed in 8.0.22 (NVD). Severity: Medium (6.2, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 28, 2026, 19:50 UTC and NVD November 19, 2026, 07:34 UTC.
What is CVE-2022-4900?
Potential buffer overflow in php_cli_server_startup_workers
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.
From the CVE record by redhat, last updated November 3, 2025, 21:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| php | not stated | ||
| Red Hat | Red Hat Enterprise Linux 6 php | not stated | |
| Red Hat | Red Hat Enterprise Linux 7 php | not stated | |
| Red Hat | Red Hat Enterprise Linux 8 php:7.4/php | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 8 php:8.0/php | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 9 php | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 9 php:8.1/php | all versions (the record names no range) | |
| Red Hat | Red Hat Software Collections rh-php73-php | all versions (the record names no range) | |
| Fedora | Fedora php | all versions (the record names no range) |
As the CVE record by redhat states it, last updated November 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| php | php | before 8.0.22 | application |
| redhat | software collections | all versions | application |
| redhat | enterprise linux | 6.0 | operating system |
| redhat | enterprise linux | 7.0 | operating system |
| redhat | enterprise linux | 8.0 | operating system |
| redhat | enterprise linux | 9.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 05:22 UTC.
How severe is CVE-2022-4900?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-4900 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.37% probability of exploitation activity in the next 30 days, percentile 32.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- https://access.redhat.com/security/cve/CVE-2022-4900 vdb-entry, x_refsource_REDHAT
- RHBZ#2179880 issue-tracking, x_refsource_REDHAT
- https://security.netapp.com/advisory/ntap-20231130-0008/
- https://lists.debian.org/debian-lts-announce/2024/10/msg00011.html
When was it published, and where is the official record?
- Reserved
- January 31, 2023
- Published
- November 2, 2023, 15:01 UTC
- CVE record updated
- November 3, 2025, 21:46 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 05:22 UTC
- Last checked
- CVE list November 28, 2026, 19:50 UTC; NVD November 19, 2026, 07:34 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect php?
- Oct 28, 2019CVE-2019-11043 PHP: buffer overflow exploited
- May 11, 2012CVE-2012-1823 Php: command injection exploited
- Jul 3, 2026CVE-2026-14355 php: heap buffer overflow
- Oct 21, 2022CVE-2022-37454 Extended Keccak Code Package Project Extended Keccak Code Package: integer overflow
- Feb 19, 2020CVE-2014-3622 PHP: use after free
- Jan 14, 2020CVE-2015-2326 Pcre: out-of-bounds read
- Jan 14, 2020CVE-2015-2325 Pcre: out-of-bounds read
- Nov 25, 2019CVE-2019-19246 Oniguruma Project Oniguruma: out-of-bounds read
Questions about CVE-2022-4900
Is CVE-2022-4900 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.37% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of php are affected by CVE-2022-4900?
Red Hat Enterprise Linux 8 all versions (the record names no range), Red Hat Enterprise Linux 9 all versions (the record names no range), Red Hat Software Collections all versions (the record names no range) and Fedora all versions (the record names no range), per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2022-4900?
8.0.22, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-4900?
Medium (6.2, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2022-4900?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.