CVE-2022-4900: PHP - Buffer Overflow
- Cve: CVE-2022-4900
- Name: PHP - Buffer Overflow
- 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.
- Impact: Attackers can cause memory corruption leading to potential remote code execution or denial of service.
- Remediation: Update PHP to the latest version where this issue is fixed.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00367
- Epss percentile: 0.31142
- Assignee: [email protected]
- Published at: 2023-11-02T16:15:08Z
- Age in days: 1118
- Modified at: 2026-06-17T05:22:14Z
- Patch available: yes
- References total: 4
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-4900
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| php:php | < 8.0.22 | /v1/products/php/php |
| redhat:enterprise_linux | = 9.0, = 8.0, = 7.0, = 6.0 | /v1/products/redhat/enterprise_linux |
| redhat:software_collections | all versions | /v1/products/redhat/software_collections |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 6200906
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports