PHP-FPM Request Smuggling via Unread HTTP Request Body
The source advisory has changed since this explanation was prepared. Check the current technical data and original advisory below.
PHP-FPM is vulnerable to request smuggling through an unread HTTP request body.
PHP does not discard the unread part of an HTTP request body at request shutdown when an application opens php://input without reading it to completion. When the front end reuses backend connections—which is not the default configuration in nginx or Apache (for example, nginx configured with fastcgi_keep_conn on, or Apache mod_proxy_fcgi with enablereuse=on)—PHP-FPM can parse the leftover bytes as a new FastCGI request.
An unauthenticated remote attacker can exploit this behavior using a single crafted multipart/form-data request to forge a backend request with arbitrary parameters, including SCRIPT_FILENAME, REMOTE_ADDR, and PHP_ADMIN_VALUE. This can lead to the execution of attacker-controlled PHP code. Under LSAPI, subsequent requests across the connection can be disrupted.
This issue affects PHP versions 8.2.* before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28, and 8.5.* before 8.5.13.
What to do
Upgrade PHP to version 8.2.36, 8.3.37, 8.4.28, 8.5.13, or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| PHP (interpreter) | PHP | >= 8.2.0, < 8.2.36, >= 8.3.0, < 8.3.37, >= 8.4.0, < 8.4.28, >= 8.5.0, < 8.5.13 sapi-fpm: < 8.2.36; >= 8.3.0, < 8.3.37; >= 8.4.0, < 8.4.28; >= 8.5.0, < 8.5.13 |
8.2.36, 8.3.37, 8.4.28, 8.5.13 |
References
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-444, CWE-670- Platform
- PHP
- Package
PHP- Disclosed
- 19.11.2026
- Updated
- 20.11.2026 10:00
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
PHP Security Advisories - GHSA-qc49-hpvq-g2w6 - CVE Terms of Use
Copyright 1999-2026 The MITRE Corporation
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
https://www.cve.org/Legal/TermsOfUseVulnerability history: PHP
All published vulnerabilities of this package (PHP (interpreter)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 78
- First → latest
- 02.2023 11.2026
- Without a fix
- 1
- Exploited in attacks
- 3
Severity breakdown
- Critical 11
- High 16
- Medium 42
- Low 9
Disclosures per year
- 2023: 5
- 2024: 17
- 2025: 12
- 2026: 44
-
PHP-FPM Request Smuggling via Unread HTTP Request Body this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.