CVE-2022-4900
PHP vulnerability analysis and mitigation

Overview

A vulnerability was discovered in PHP (CVE-2022-4900) where setting the environment variable PHPCLISERVER_WORKERS to a large value leads to a heap buffer overflow. The vulnerability was disclosed on November 2, 2023, affecting PHP versions up to 8.0.22 (NVD).

Technical details

The vulnerability is classified as a heap buffer overflow vulnerability (CWE-787: Out-of-bounds Write). It has received a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating local access is required and the primary impact is on system availability (NVD, Ubuntu).

Impact

When successfully exploited, this vulnerability could lead to a Denial of Service (DoS) condition. The vulnerability specifically affects the system's availability while having no direct impact on confidentiality or integrity (NetApp).

Mitigation and workarounds

The vulnerability has been fixed in PHP version 8.0.22. Users are advised to upgrade to this version or later. For Ubuntu systems, fixes have been released for various versions including PHP 7.4.3-4ubuntu2.22 for Ubuntu 20.04 LTS and PHP 8.1.2-1ubuntu2.17 for Ubuntu 22.04 LTS (Ubuntu).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59943HIGH8.1
  • PHPPHP
  • thorsten/phpmyfaq
NoYesOct 03, 2025
GHSA-w22c-pw5m-482xLOW3.3
  • PHPPHP
  • auth0/wordpress
NoYesOct 01, 2025
GHSA-hjfh-5jmm-xr24LOW3.3
  • PHPPHP
  • auth0/login
NoYesOct 01, 2025
GHSA-7jp2-5h22-m432LOW3.3
  • PHPPHP
  • auth0/symfony
NoYesOct 01, 2025
CVE-2025-58769LOW3.3
  • PHPPHP
  • auth0/auth0-php
NoYesOct 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management