CVE-2022-4900: Potential buffer overflow in php_cli_server_startup_workers
Vulnerability summary
CVE-2022-4900 is a medium (CVSS 6.2) vulnerability in php. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 30.5% of scored vulnerabilities.
Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 6Timeline
- 02-11-2023PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · WolfiEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.37%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.37% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse7 products
- apache2-mod_php7&distro=SUSE Linux Enterprise Module for Legacy 15 SP4< 7.4.33-150400.4.22.1
- php7-embed&distro=SUSE Linux Enterprise Module for Package Hub 15 SP4< 7.4.33-150400.4.22.1
- php7-fastcgi&distro=SUSE Linux Enterprise Module for Legacy 15 SP4< 7.4.33-150400.4.22.1
- php7-fpm&distro=SUSE Linux Enterprise Module for Legacy 15 SP4< 7.4.33-150400.4.22.1
- php74&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 7.4.33-1.56.1
Opensuse6 products
- apache2-mod_php7&distro=openSUSE Leap 15.4< 7.4.33-150400.4.22.1
- php7-embed&distro=openSUSE Leap 15.4< 7.4.33-150400.4.22.1
- php7-fastcgi&distro=openSUSE Leap 15.4< 7.4.33-150400.4.22.1
- php7-fpm&distro=openSUSE Leap 15.4< 7.4.33-150400.4.22.1
- php7-test&distro=openSUSE Leap 15.4< 7.4.33-150400.4.22.2
Chainguard3 products
- php-8.1All versions (No fix recorded)
- php-8.2All versions (No fix recorded)
- php-8.3All versions (No fix recorded)
Wolfi3 products
- php-8.1All versions (No fix recorded)
- php-8.2All versions (No fix recorded)
- php-8.3All versions (No fix recorded)
Redhat2 products
- enterprise_linuxEOL6.0 | 7.0 | 8.0 | 9.0
- software_collectionsna
Ubuntu2 products
- php7.4< 7.4.3-4ubuntu2.22
- php8.1< 8.1.2-1ubuntu2.17
Debian1 product
- php7.4< 7.4.33-1+deb11u6
Php1 product
- php< 8.0.22
8 vendors · 25 products
References
20 links- access.redhat.com/security/cve/CVE-2022-4900VDB EntryX Refsource REDHATREPORTAdvisoryVendor Advisory