CVEfocus › CVE database › CVE-2019-11043

CVE-2019-11043Underflow in PHP-FPM can lead to RCE

Known exploited (CISA KEV) · ransomwareCVSS 8.7 HighEPSS 99.8% (in the top 1% of all CVEs)Published 2019-10-28Updated 2025-10-21Assigner: php

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it is possible to cause FPM module to write past allocated buffers into the space reserved for FCGI protocol data, thus opening the possibility of remote code execution.

CWE-120

What to do

This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2022-03-25). If you run an affected version, patch or mitigate now.

Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

110Fixed
1Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04php7.2Fixed7.2.24-0ubuntu0.18.04.1UBUNTU-CVE-2019-11043
Ubuntu 16.04php7.0Fixed7.0.33-0ubuntu0.16.04.7UBUNTU-CVE-2019-11043
Ubuntu 14.04php5Fix pending5.5.9+dfsg-1ubuntu4.29+esm6 (Ubuntu Pro)UBUNTU-CVE-2019-11043
Red Hat Enterprise Linux 8apcu-panelFixed0:5.1.12-2.module+el8.1.0+3202+af5476b9RHSA-2019:3736
Red Hat Enterprise Linux 8libzipFixed0:1.5.1-2.module+el8.1.0+3202+af5476b9RHSA-2019:3736
Red Hat Enterprise Linux 8libzip-develFixed0:1.5.2-1.module+el8.1.0+3189+a1bff096RHSA-2019:3735
Red Hat Enterprise Linux 8libzip-toolsFixed0:1.5.1-2.module+el8.1.0+3202+af5476b9RHSA-2019:3736
Red Hat Enterprise Linux 8phpFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-bcmathFixed0:7.3.5-5.module+el8.1.0+4560+e0eee7d6RHSA-2019:3735
Red Hat Enterprise Linux 8php-cliFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-commonFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-dbaFixed0:7.3.5-5.module+el8.1.0+4560+e0eee7d6RHSA-2019:3735
Red Hat Enterprise Linux 8php-dbgFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-develFixed0:7.3.5-5.module+el8.1.0+4560+e0eee7d6RHSA-2019:3735
Red Hat Enterprise Linux 8php-embeddedFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-enchantFixed0:7.3.5-5.module+el8.1.0+4560+e0eee7d6RHSA-2019:3735
Red Hat Enterprise Linux 8php-fpmFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-gdFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-gmpFixed0:7.3.5-5.module+el8.1.0+4560+e0eee7d6RHSA-2019:3735
Red Hat Enterprise Linux 8php-intlFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-jsonFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-ldapFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-mbstringFixed0:7.3.5-5.module+el8.1.0+4560+e0eee7d6RHSA-2019:3735
Red Hat Enterprise Linux 8php-mysqlndFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-odbcFixed0:7.3.5-5.module+el8.1.0+4560+e0eee7d6RHSA-2019:3735
Red Hat Enterprise Linux 8php-opcacheFixed0:7.3.5-5.module+el8.1.0+4560+e0eee7d6RHSA-2019:3735
Red Hat Enterprise Linux 8php-pdoFixed0:7.3.5-5.module+el8.1.0+4560+e0eee7d6RHSA-2019:3735
Red Hat Enterprise Linux 8php-pearFixed1:1.10.9-1.module+el8.1.0+3189+a1bff096RHSA-2019:3735
Red Hat Enterprise Linux 8php-pecl-apcuFixed0:5.1.17-1.module+el8.1.0+3189+a1bff096RHSA-2019:3735
Red Hat Enterprise Linux 8php-pecl-apcu-develFixed0:5.1.17-1.module+el8.1.0+3189+a1bff096RHSA-2019:3735
Red Hat Enterprise Linux 8php-pecl-zipFixed0:1.15.3-1.module+el8.1.0+3186+20164e6fRHSA-2019:3736
Red Hat Enterprise Linux 8php-pgsqlFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-processFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-recodeFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-snmpFixed0:7.3.5-5.module+el8.1.0+4560+e0eee7d6RHSA-2019:3735
Red Hat Enterprise Linux 8php-soapFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-xmlFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 8php-xmlrpcFixed0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3736
Red Hat Enterprise Linux 7phpFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-bcmathFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-cliFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-commonFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-dbaFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-develFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-embeddedFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-enchantFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-fpmFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-gdFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-intlFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-ldapFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-mbstringFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-mysqlFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-mysqlndFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-odbcFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-pdoFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-pgsqlFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-processFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-pspellFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-recodeFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-snmpFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-soapFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-xmlFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 7php-xmlrpcFixed0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hat Enterprise Linux 6phpFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-bcmathFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-cliFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-commonFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-dbaFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-develFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-embeddedFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-enchantFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-fpmFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-gdFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-imapFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-intlFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-ldapFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-mbstringFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-mysqlFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-odbcFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-pdoFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-pgsqlFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-processFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-pspellFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-recodeFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-snmpFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-soapFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-tidyFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-xmlFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-xmlrpcFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 6php-ztsFixed0:5.3.3-50.el6_10RHSA-2019:3287
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Not affected
AlmaLinux 8apcu-panelFixed5.1.12-2.module_el8.3.0+2010+7c76a223ALSA-2019:3736
AlmaLinux 8libzipFixed1.5.2-1.module_el8.3.0+2009+b272fdefALSA-2019:3735
AlmaLinux 8libzip-develFixed1.5.2-1.module_el8.4.0+2229+b272fdefALSA-2019:3735
AlmaLinux 8libzip-toolsFixed1.5.1-2.module_el8.3.0+2010+7c76a223ALSA-2019:3735
AlmaLinux 8php-pearFixed1:1.10.9-1.module_el8.3.0+2009+b272fdefALSA-2019:3735
AlmaLinux 8php-pecl-apcuFixed5.1.17-1.module_el8.4.0+2229+b272fdefALSA-2019:3735
AlmaLinux 8php-pecl-apcu-develFixed5.1.17-1.module_el8.4.0+2229+b272fdefALSA-2019:3736
AlmaLinux 8php-pecl-zipFixed1.15.3-1.module_el8.4.0+2228+7c76a223ALSA-2019:3735
Rocky Linux 8libzipFixed0:1.5.1-2.module+el8.4.0+413+c9202ddaRLSA-2019:3736
Rocky Linux 8php-pearFixed1:1.10.5-9.module+el8.4.0+413+c9202ddaRLSA-2019:3736
Rocky Linux 8php-pecl-apcuFixed0:5.1.12-2.module+el8.4.0+413+c9202ddaRLSA-2019:3736
Rocky Linux 8php-pecl-zipFixed0:1.15.3-1.module+el8.4.0+413+c9202ddaRLSA-2019:3736
Alpine Linux 3.15php7Fixed7.3.11-r0ALPINE-CVE-2019-11043
Alpine Linux 3.14php7Fixed7.3.11-r0ALPINE-CVE-2019-11043
Alpine Linux 3.13php7Fixed7.3.11-r0ALPINE-CVE-2019-11043
Alpine Linux 3.12php7Fixed7.3.11-r0ALPINE-CVE-2019-11043
Alpine Linux 3.11php7Fixed7.3.11-r0ALPINE-CVE-2019-11043
Alpine Linux 3.10php7Fixed7.3.11-r0ALPINE-CVE-2019-11043
Alpine Linux 3.9php7Fixed7.2.24-r0ALPINE-CVE-2019-11043
Alpine Linux 3.8php7Fixed7.2.24-r0ALPINE-CVE-2019-11043
Alpine Linux 3.7php7Fixed7.1.33-r0ALPINE-CVE-2019-11043

What the vendor says

As published in the CVE record by php, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Configuring nginx (or other server that implements the front-end part of the FPM protocol) to check for the existence of the target file before passing it to PHP FPM (e.g. "try_files $uri =404" or "if (-f $uri)" in nginx) for would prevent this vulnerability from happening.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.