CVE-2019-11043: PHP-FPM Path-Handling Underflow Remote Code Execution
- Vendors
- Debian ProjectRed HatFedora ProjectPHP GroupTenableCanonical
CVE-2019-11043 is a memory-corruption vulnerability in PHP-FPM path handling that can enable remote code execution in certain NGINX configurations. Insufficient path validation in init_request_info() causes an underflow involving env_path_info, allowing writes outside allocated buffers into memory reserved for FastCGI protocol data. The upstream affected ranges are PHP 7.1.x before 7.1.33, 7.2.x before 7.2.24, and 7.3.x before 7.3.11; vendor advisories also identify affected older packaged branches. Specially crafted requests reaching the vulnerable path can corrupt memory, crash PHP-FPM, or execute arbitrary code.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unauthenticated remote attacker can potentially execute arbitrary code in the PHP-FPM worker's security context, compromising application data and resources accessible to that process. Successful exploitation can disclose sensitive information or add and modify data. Memory corruption can also crash PHP-FPM and cause denial of service. Exploitability depends on the web server's request-routing and FastCGI parameter configuration.
Mitigation
If you can’t patch tonight, do this now.
As an interim NGINX configuration workaround, change each relevant PATH_INFO assignment to 'fastcgi_param PATH_INFO $fastcgi_path_info if_not_empty;' and restart NGINX. This prevents an empty PATH_INFO value from being passed while retaining PATH_INFO functionality. Enforcing script-file existence checks before forwarding requests to PHP-FPM also addresses a documented exploitation prerequisite. Configuration workarounds do not replace installing the security update.
Remediation
Patch, then assume compromise.
Install PHP 7.1.33, 7.2.24, or 7.3.11 or later fixed releases in the corresponding branches, or apply the operating system or product vendor's backported security update. Version numbers below the upstream fixed releases may contain vendor backports; verify the exact package release against the applicable advisory. Debian fixes include php7.0 7.0.33-0+deb9u6 for Debian 9 and php7.3 7.3.11-1~deb10u1 for Debian 10. Synology fixes include PHP 7.2 package 7.2.24-0006 and PHP 7.3 package 7.3.11-0004. Restart affected services after updating; the cited Red Hat package advisories specifically require restarting httpd.
Exploits
12 exploits validated by Mallory's analysis. Hidden: 6 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2019-11043 exploited in the wild?
- Yes. As of Nov 27, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 25, 2022.
- Is there a public exploit for CVE-2019-11043?
- Yes. Mallory tracks 12 public exploits or proofs of concept for CVE-2019-11043, the earliest disclosed Sep 23, 2019.
- Is there a patch for CVE-2019-11043?
- Install PHP 7.1.33, 7.2.24, or 7.3.11 or later fixed releases in the corresponding branches, or apply the operating system or product vendor's backported security update. Version numbers below the upstream fixed releases may contain vendor backports; verify the exact package release against the applicable advisory.
- What products are affected by CVE-2019-11043?
- PHP Group Php, Debian Project Debian Linux, Red Hat Enterprise Linux Desktop, Red Hat Enterprise Linux Eus, Red Hat Enterprise Linux Eus Compute Node, and at least 18 more.
- How severe is CVE-2019-11043?
- CVE-2019-11043 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.8% (100th percentile) as of Nov 27, 2026.
Recent activity
45 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.