{"id":"CVE-2019-11043","state":"PUBLISHED","title":"Underflow in PHP-FPM can lead to RCE","description":"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.","publishedAt":"2019-10-28T14:19:04.252Z","updatedAt":"2025-10-21T23:45:28.408Z","severity":{"score":8.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","source":"php"},"assigner":"php","products":["PHP PHP"],"affected":[{"vendor":"PHP","product":"PHP","versions":[{"version":"7.1.x","status":"affected","lessThan":"7.1.33","versionType":"custom"},{"version":"7.2.x","status":"affected","lessThan":"7.2.24","versionType":"custom"},{"version":"7.3.x","status":"affected","lessThan":"7.3.11","versionType":"custom"}]}],"references":["https://github.com/neex/phuip-fpizdam","https://bugs.php.net/bug.php?id=78599","https://usn.ubuntu.com/4166-1/","https://www.debian.org/security/2019/dsa-4552","https://www.debian.org/security/2019/dsa-4553","https://usn.ubuntu.com/4166-2/","https://support.f5.com/csp/article/K75408500?utm_source=f5support&amp%3Butm_medium=RSS","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T62LF4ZWVV7OMMIZFO6IFO5QLZKK7YRD/","https://security.netapp.com/advisory/ntap-20191031-0003/","https://access.redhat.com/errata/RHSA-2019:3286","https://access.redhat.com/errata/RHSA-2019:3287","https://access.redhat.com/errata/RHSA-2019:3299","https://access.redhat.com/errata/RHSA-2019:3300","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3W23TP6X4H7LB645FYZLUPNIRD5W3EPU/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FSNBUSPKMLUHHOADROKNG5GDWDCRHT5M/","http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00011.html","https://access.redhat.com/errata/RHSA-2019:3724","https://access.redhat.com/errata/RHSA-2019:3735","https://access.redhat.com/errata/RHSA-2019:3736","https://www.synology.com/security/advisory/Synology_SA_19_36","http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00014.html","https://support.apple.com/kb/HT210919","https://seclists.org/bugtraq/2020/Jan/44","http://seclists.org/fulldisclosure/2020/Jan/40","https://access.redhat.com/errata/RHSA-2020:0322","http://packetstormsecurity.com/files/156642/PHP-FPM-7.x-Remote-Code-Execution.html","https://www.tenable.com/security/tns-2021-14","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-11043"],"weaknesses":["CWE-120"],"ingestedAt":"2026-10-29T19:45:22.458Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/11xxx/CVE-2019-11043.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-11043","state":"PUBLISHED","datePublished":"2019-10-28T14:19:04.252Z","dateUpdated":"2025-10-21T23:45:28.408Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2019-04-09T00:00:00.000Z"},"containers":{"cna":{"title":"Underflow in PHP-FPM can lead to RCE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"PHP","product":"PHP","versions":[{"version":"7.1.x","status":"affected","lessThan":"7.1.33","versionType":"custom"},{"version":"7.2.x","status":"affected","lessThan":"7.2.24","versionType":"custom"},{"version":"7.3.x","status":"affected","lessThan":"7.3.11","versionType":"custom"}]}],"references":[{"url":"https://github.com/neex/phuip-fpizdam","tags":["x_refsource_MISC"]},{"url":"https://bugs.php.net/bug.php?id=78599","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4166-1/","name":"USN-4166-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.debian.org/security/2019/dsa-4552","name":"DSA-4552","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.debian.org/security/2019/dsa-4553","name":"DSA-4553","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://usn.ubuntu.com/4166-2/","name":"USN-4166-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://support.f5.com/csp/article/K75408500?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T62LF4ZWVV7OMMIZFO6IFO5QLZKK7YRD/","name":"FEDORA-2019-4adc49a476","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://security.netapp.com/advisory/ntap-20191031-0003/","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3286","name":"RHSA-2019:3286","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3287","name":"RHSA-2019:3287","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3299","name":"RHSA-2019:3299","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3300","name":"RHSA-2019:3300","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3W23TP6X4H7LB645FYZLUPNIRD5W3EPU/","name":"FEDORA-2019-187ae3128d","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FSNBUSPKMLUHHOADROKNG5GDWDCRHT5M/","name":"FEDORA-2019-7bb07c3b02","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00011.html","name":"openSUSE-SU-2019:2441","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3724","name":"RHSA-2019:3724","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3735","name":"RHSA-2019:3735","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3736","name":"RHSA-2019:3736","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.synology.com/security/advisory/Synology_SA_19_36","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00014.html","name":"openSUSE-SU-2019:2457","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://support.apple.com/kb/HT210919","tags":["x_refsource_CONFIRM"]},{"url":"https://seclists.org/bugtraq/2020/Jan/44","name":"20200129 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High Sierra","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://seclists.org/fulldisclosure/2020/Jan/40","name":"20200131 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High Sierra","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0322","name":"RHSA-2020:0322","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://packetstormsecurity.com/files/156642/PHP-FPM-7.x-Remote-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-120","description":"CWE-120 Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"php","dateUpdated":"2021-07-22T17:07:18.000Z","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b"},"credits":[{"lang":"en","value":"Reported by Emil Lerner."}],"datePublic":"2019-10-22T00:00:00.000Z","exploits":[{"lang":"en","value":"Exploit described at https://github.com/neex/phuip-fpizdam"}],"source":{"defect":["https://bugs.php.net/bug.php?id=78599"],"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","value":"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."}],"x_generator":{"engine":"Vulnogram 0.0.8"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@php.net","DATE_PUBLIC":"2019-10-22T03:18:00.000Z","ID":"CVE-2019-11043","STATE":"PUBLIC","TITLE":"Underflow in PHP-FPM can lead to RCE"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"PHP","version":{"version_data":[{"version_affected":"<","version_name":"7.1.x","version_value":"7.1.33"},{"version_affected":"<","version_name":"7.2.x","version_value":"7.2.24"},{"version_affected":"<","version_name":"7.3.x","version_value":"7.3.11"}]}}]},"vendor_name":"PHP"}]}},"credit":[{"lang":"eng","value":"Reported by Emil Lerner."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"exploit":[{"lang":"en","value":"Exploit described at https://github.com/neex/phuip-fpizdam"}],"generator":{"engine":"Vulnogram 0.0.8"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-120 Buffer Overflow"}]}]},"references":{"reference_data":[{"name":"https://github.com/neex/phuip-fpizdam","refsource":"MISC","url":"https://github.com/neex/phuip-fpizdam"},{"name":"https://bugs.php.net/bug.php?id=78599","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=78599"},{"name":"USN-4166-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4166-1/"},{"name":"DSA-4552","refsource":"DEBIAN","url":"https://www.debian.org/security/2019/dsa-4552"},{"name":"DSA-4553","refsource":"DEBIAN","url":"https://www.debian.org/security/2019/dsa-4553"},{"name":"USN-4166-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4166-2/"},{"name":"https://support.f5.com/csp/article/K75408500?utm_source=f5support&amp;utm_medium=RSS","refsource":"CONFIRM","url":"https://support.f5.com/csp/article/K75408500?utm_source=f5support&amp;utm_medium=RSS"},{"name":"FEDORA-2019-4adc49a476","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T62LF4ZWVV7OMMIZFO6IFO5QLZKK7YRD/"},{"name":"https://security.netapp.com/advisory/ntap-20191031-0003/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20191031-0003/"},{"name":"RHSA-2019:3286","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:3286"},{"name":"RHSA-2019:3287","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:3287"},{"name":"RHSA-2019:3299","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:3299"},{"name":"RHSA-2019:3300","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:3300"},{"name":"FEDORA-2019-187ae3128d","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3W23TP6X4H7LB645FYZLUPNIRD5W3EPU/"},{"name":"FEDORA-2019-7bb07c3b02","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FSNBUSPKMLUHHOADROKNG5GDWDCRHT5M/"},{"name":"openSUSE-SU-2019:2441","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00011.html"},{"name":"RHSA-2019:3724","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:3724"},{"name":"RHSA-2019:3735","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:3735"},{"name":"RHSA-2019:3736","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:3736"},{"name":"https://www.synology.com/security/advisory/Synology_SA_19_36","refsource":"CONFIRM","url":"https://www.synology.com/security/advisory/Synology_SA_19_36"},{"name":"openSUSE-SU-2019:2457","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00014.html"},{"name":"https://support.apple.com/kb/HT210919","refsource":"CONFIRM","url":"https://support.apple.com/kb/HT210919"},{"name":"20200129 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High Sierra","refsource":"BUGTRAQ","url":"https://seclists.org/bugtraq/2020/Jan/44"},{"name":"20200131 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High Sierra","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2020/Jan/40"},{"name":"RHSA-2020:0322","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2020:0322"},{"name":"http://packetstormsecurity.com/files/156642/PHP-FPM-7.x-Remote-Code-Execution.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/156642/PHP-FPM-7.x-Remote-Code-Execution.html"},{"name":"https://www.tenable.com/security/tns-2021-14","refsource":"CONFIRM","url":"https://www.tenable.com/security/tns-2021-14"}]},"source":{"defect":["https://bugs.php.net/bug.php?id=78599"],"discovery":"EXTERNAL"},"work_around":[{"lang":"en","value":"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."}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/neex/phuip-fpizdam","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=78599","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://usn.ubuntu.com/4166-1/","name":"USN-4166-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://www.debian.org/security/2019/dsa-4552","name":"DSA-4552","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://www.debian.org/security/2019/dsa-4553","name":"DSA-4553","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://usn.ubuntu.com/4166-2/","name":"USN-4166-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://support.f5.com/csp/article/K75408500?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T62LF4ZWVV7OMMIZFO6IFO5QLZKK7YRD/","name":"FEDORA-2019-4adc49a476","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20191031-0003/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3286","name":"RHSA-2019:3286","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3287","name":"RHSA-2019:3287","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3299","name":"RHSA-2019:3299","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3300","name":"RHSA-2019:3300","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3W23TP6X4H7LB645FYZLUPNIRD5W3EPU/","name":"FEDORA-2019-187ae3128d","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FSNBUSPKMLUHHOADROKNG5GDWDCRHT5M/","name":"FEDORA-2019-7bb07c3b02","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00011.html","name":"openSUSE-SU-2019:2441","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3724","name":"RHSA-2019:3724","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3735","name":"RHSA-2019:3735","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3736","name":"RHSA-2019:3736","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://www.synology.com/security/advisory/Synology_SA_19_36","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00014.html","name":"openSUSE-SU-2019:2457","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://support.apple.com/kb/HT210919","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://seclists.org/bugtraq/2020/Jan/44","name":"20200129 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High Sierra","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2020/Jan/40","name":"20200131 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High Sierra","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0322","name":"RHSA-2020:0322","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://packetstormsecurity.com/files/156642/PHP-FPM-7.x-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T22:40:16.064Z"}},{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-11043","tags":["government-resource"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2019-11043","role":"CISA Coordinator","options":[{"Exploitation":"active"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-02-07T13:08:21.298475Z"}}},{"other":{"type":"kev","content":{"dateAdded":"2022-03-25","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-11043"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-21T23:45:28.408Z"},"timeline":[{"time":"2022-03-25T00:00:00.000Z","lang":"en","value":"CVE-2019-11043 added to CISA KEV"}]}]}}}