Skip to content
Fencer Vulns
medium 6.2

CVE-2022-4900 json

Potential buffer overflow in php_cli_server_startup_workers

published 2023-11-02 3 y ago modified 2026-09-08 2 mo ago also BIT-libphp-2022-4900 , BIT-php-2022-4900 , BIT-php-min-2022-4900 , EUVD-2022-52156

cvss
6.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 30%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami libphp 8.0.22
  • bitnami php 8.0.22
  • bitnami php-min 8.0.22
  • php php 8.0.22
  • php7.4 Debian 11 7.4.33-1+deb11u6

debian advisories DEBIAN-CVE-2022-4900

  • php7.4 Ubuntu 20.04 LTS 7.4.3-4ubuntu2.22
  • php8.1 Ubuntu 22.04 LTS 8.1.2-1ubuntu2.17

ubuntu advisories UBUNTU-CVE-2022-4900

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • php RHEL 8 8.0.27-1.module+el8.7.0+17863+0ad92cd2
  • libzip RHEL 8 1.7.3-1.module+el8.6.0+13671+84712317
  • php-gd RHEL 8 8.0.27-1.module+el8.7.0+17863+0ad92cd2
  • php-cli RHEL 8 8.0.27-1.module+el8.7.0+17863+0ad92cd2
  • php-dba RHEL 8 8.0.27-1.module+el8.7.0+17863+0ad92cd2
  • php-dbg RHEL 8 8.0.27-1.module+el8.7.0+17863+0ad92cd2
  • php-ffi RHEL 8 8.0.27-1.module+el8.7.0+17863+0ad92cd2
  • php-fpm RHEL 8 8.0.27-1.module+el8.7.0+17863+0ad92cd2

red hat advisories RHSA-2023:0848

  • php74 SLE Software Development Kit 12 SP5, SLE Module for Web and Scripting 12 7.4.33-1.56.1
  • php7 SLE Module for Legacy 15 SP4, openSUSE Leap 15.4 7.4.33-150400.4.22.1
  • php7-fpm SLE Module for Legacy 15 SP4, openSUSE Leap 15.4 7.4.33-150400.4.22.1
  • php7-test openSUSE Leap 15.4 7.4.33-150400.4.22.2
  • php7-embed SLE Module for Package Hub 15 SP4, openSUSE Leap 15.4 7.4.33-150400.4.22.1
  • php7-fastcgi SLE Module for Legacy 15 SP4, openSUSE Leap 15.4 7.4.33-150400.4.22.1
  • apache2-mod_php7 SLE Module for Legacy 15 SP4, openSUSE Leap 15.4 7.4.33-150400.4.22.1
  • php7 openSUSE Leap 15.4 7.4.33-150200.3.54.1

suse advisories SUSE-SU-2023:1847-1SUSE-SU-2023:1846-1SUSE-SU-2023:1583-1

  • php AlmaLinux 8 8.0.27-1.module_el8.7.0+3401+dfb61c00
  • libzip AlmaLinux 8 1.7.3-1.module_el8.6.0+2739+efabdb8f
  • libzip AlmaLinux 8 1.7.3-1.module_el8.6.0+3061+6878dd1b
  • php-gd AlmaLinux 8 8.0.27-1.module_el8.7.0+3401+dfb61c00
  • php-cli AlmaLinux 8 8.0.27-1.module_el8.7.0+3401+dfb61c00
  • php-dba AlmaLinux 8 8.0.27-1.module_el8.7.0+3401+dfb61c00
  • php-dbg AlmaLinux 8 8.0.27-1.module_el8.7.0+3401+dfb61c00
  • php-ffi AlmaLinux 8 8.0.27-1.module_el8.7.0+3401+dfb61c00

almalinux advisories ALSA-2023:0848

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-4900 updated cvss 6.2

php: potential buffer overflow in php_cli_server_startup_workers

  • Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 php, libzip, php-gd, php-cli, php-dba, php-dbg, +30 more Red Hat Enterprise Linux 9 php, php-gd, php-cli, php-dba, php-dbg, php-ffi, +18 more Red Hat Software Collections rh-php73-php, rh-php73-php-gd, rh-php73-php-cli, rh-php73-php-dba, rh-php73-php-dbg, rh-php73-php-fpm, +22 more
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux AppStream (v. 8) php 8.0.27-1.module+el8.7.0+17863+0ad92cd2, libzip 1.7.3-1.module+el8.6.0+13671+84712317, php-gd 8.0.27-1.module+el8.7.0+17863+0ad92cd2, php-cli 8.0.27-1.module+el8.7.0+17863+0ad92cd2, php-dba 8.0.27-1.module+el8.7.0+17863+0ad92cd2, php-dbg 8.0.27-1.module+el8.7.0+17863+0ad92cd2, +26 more
    fixed: vendor fix RHSA-2023:0848

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-027-02 updated cvss 5.5

Festo Didactic SE MES PC

  • Festo Didactic SE MES PC shipped_with_Windows_10
    affected: vendor fix

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-046-11 updated cvss 5.5

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

0.37% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
bitnami libphp
>=7.4.0, <8.0.22
8.0.22
bitnami php
>=7.4.0, <8.0.22
8.0.22
bitnami php-min
>=7.4.0, <8.0.22
8.0.22

Affected products

  • n/a php
  • 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

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-787 Out-of-bounds Write
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Improve version ranges to indicate fix.