CVE & CISA-KEV Catalog

CVE-2022-4900

MEDIUM
6.2
CVSS v3
NVD

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.

How to fix

Remediation Available
php7.4Debian
Fixed in:7.4.33-1+deb11u6CVE-2022-4900
libapache2-mod-php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm9USN-6757-1
libapache2-mod-php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.17+esm3USN-6757-1
libapache2-mod-php7.4Ubuntu
Fixed in:7.4.3-4ubuntu2.22USN-6757-2
Fixed in:7.4.3-4ubuntu2.21USN-6757-1
libapache2-mod-php8.1Ubuntu
Fixed in:8.1.2-1ubuntu2.17USN-6757-2
Fixed in:8.1.2-1ubuntu2.16USN-6757-1
libapache2-mod-php8.2Ubuntu
Fixed in:8.2.10-2ubuntu2.1USN-6757-2
php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm9USN-6757-1
php7.0-cgiUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm9USN-6757-1
php7.0-cliUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm9USN-6757-1
php7.0-fpmUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm9USN-6757-1
php7.0-xmlUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm9USN-6757-1
php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.17+esm3USN-6757-1
php7.2-cgiUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.17+esm3USN-6757-1
php7.2-cliUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.17+esm3USN-6757-1
php7.2-fpmUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.17+esm3USN-6757-1
php7.2-xmlUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.17+esm3USN-6757-1
php7.4Ubuntu
Fixed in:7.4.3-4ubuntu2.22USN-6757-2
Fixed in:7.4.3-4ubuntu2.21USN-6757-1
php7.4-cgiUbuntu
Fixed in:7.4.3-4ubuntu2.21USN-6757-1
Fixed in:7.4.3-4ubuntu2.22USN-6757-2
php7.4-cliUbuntu
Fixed in:7.4.3-4ubuntu2.22USN-6757-2
Fixed in:7.4.3-4ubuntu2.21USN-6757-1
php7.4-fpmUbuntu
Fixed in:7.4.3-4ubuntu2.21USN-6757-1
Fixed in:7.4.3-4ubuntu2.22USN-6757-2
php7.4-xmlUbuntu
Fixed in:7.4.3-4ubuntu2.22USN-6757-2
Fixed in:7.4.3-4ubuntu2.21USN-6757-1
php8.1Ubuntu
Fixed in:8.1.2-1ubuntu2.17USN-6757-2
Fixed in:8.1.2-1ubuntu2.16USN-6757-1
php8.1-cgiUbuntu
Fixed in:8.1.2-1ubuntu2.16USN-6757-1
Fixed in:8.1.2-1ubuntu2.17USN-6757-2
php8.1-cliUbuntu
Fixed in:8.1.2-1ubuntu2.16USN-6757-1
Fixed in:8.1.2-1ubuntu2.17USN-6757-2
php8.1-fpmUbuntu
Fixed in:8.1.2-1ubuntu2.17USN-6757-2
Fixed in:8.1.2-1ubuntu2.16USN-6757-1
php8.1-xmlUbuntu
Fixed in:8.1.2-1ubuntu2.16USN-6757-1
Fixed in:8.1.2-1ubuntu2.17USN-6757-2
php8.2Ubuntu
Fixed in:8.2.10-2ubuntu2.1USN-6757-2
php8.2-cgiUbuntu
Fixed in:8.2.10-2ubuntu2.1USN-6757-2
php8.2-cliUbuntu
Fixed in:8.2.10-2ubuntu2.1USN-6757-2
php8.2-fpmUbuntu
Fixed in:8.2.10-2ubuntu2.1USN-6757-2
php8.2-xmlUbuntu
Fixed in:8.2.10-2ubuntu2.1USN-6757-2

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.37%probability of exploitation in 30 days
29thpercentile

Low risk: more likely to be exploited than 29% of all known CVEs.

References

Vendor Advisory1
Third-Party Advisory1
Issue Tracking1
Other references1

Related Vulnerabilities

Other CWE-119 (Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-4966Critical9.4100%KEV + RansomFix
CVE-2017-11882High7.8100%KEV + Ransom-
CVE-2020-0796Critical10.0100%KEV + Ransom-
CVE-2008-4250Critical9.899%KEV-
CVE-2017-15944Critical9.898%KEVFix
CVE-2015-0014High10.097%--
Embed a live status badge for CVE-2022-4900
CVE-2022-4900 severity badge

Markdown

[![CVE-2022-4900](https://tridentstack.com/cve/badge/CVE-2022-4900.svg)](https://tridentstack.com/cve/CVE-2022-4900)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-4900"><img src="https://tridentstack.com/cve/badge/CVE-2022-4900.svg" alt="CVE-2022-4900"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.