Skip to content
OpenAdvisories
Medium · 6.2 CVE-2022-4900 EUVD-2022-52156GHSA-95cc-jq89-8hvw

Potential buffer overflow in php_cli_server_startup_workers

Published Nov 2, 2023 · Updated Nov 3, 2025 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
— php — 8.0.22
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Software Collections — —
Fedora Fedora — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 php7.4 7.4.33-1+deb11u6 DLA-3920-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS php8.1 8.1.2-1ubuntu2.17 USN-6757-2, USN-6757-1
Ubuntu 20.04 LTS php7.4 7.4.3-4ubuntu2.22 USN-6757-2, USN-6757-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS php7.2 7.2.24-0ubuntu0.18.04.17+esm3 USN-6757-1
Ubuntu Pro 16.04 LTS php7.0 7.0.33-0ubuntu0.16.04.16+esm9 USN-6757-1
ReleasePackageFixed inAdvisory
RHEL 8 apcu-panel +2 5.1.20-1.module+el8.6.0+13671+84712317 RHSA-2023:0848
RHEL 8 libzip +2 1.7.3-1.module+el8.6.0+13671+84712317 RHSA-2023:0848
RHEL 8 php +23 8.0.27-1.module+el8.7.0+17863+0ad92cd2 RHSA-2023:0848
RHEL 8 php-pear 1:1.10.13-1.module+el8.6.0+13671+84712317 RHSA-2023:0848
RHEL 8 php-pecl-rrd 2.0.3-1.module+el8.6.0+13671+84712317 RHSA-2023:0848
RHEL 8 php-pecl-xdebug3 3.1.2-1.module+el8.6.0+13671+84712317 RHSA-2023:0848
RHEL 8 php-pecl-zip 1.19.2-1.module+el8.6.0+13671+84712317 RHSA-2023:0848

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 apcu-panel +2 5.1.20-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 libzip +2 1.7.3-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 php +23 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-pear 1:1.10.13-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 php-pecl-rrd 2.0.3-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 php-pecl-xdebug3 3.1.2-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 php-pecl-zip 1.19.2-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
ReleasePackageFixed inAdvisory
SLES 15 SP4 php7 +4 7.4.33-150400.4.22.1 SUSE-SU-2023:1846-1
SLES 12 SP5 php74 7.4.33-1.56.1 SUSE-SU-2023:1847-1
SLES 12 php74 7.4.33-1.56.1 SUSE-SU-2023:1847-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 php7 7.4.33-150200.3.54.1 SUSE-SU-2023:1846-1, SUSE-SU-2023:1583-1
openSUSE Leap 15.4 php7-fpm +3 7.4.33-150400.4.22.1 SUSE-SU-2023:1846-1
openSUSE Leap 15.4 php7-test 7.4.33-150400.4.22.2 SUSE-SU-2023:1846-1

Advisories 13

References