CVE-2022-4900: PHP

Medium severity, CVSS 5.5. EPSS: 0.4% chance of exploitation in the next 30 days.

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.

Affected products

  • PHP PHP: before 8.0.22 (fixed in 8.0.22)
  • Red Hat Enterprise Linux: version 6.0 only; version 7.0 only; version 8.0 only; version 9.0 only
  • Red Hat Software Collections: affected versions not specified

Published 2023-11-02. Last modified 2026-06-17.