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

Published Oct 22, 2019
·
Updated

apachemodphp. Multiple issues were addressed by updating to PHP version 7.3.11.

Other sources

Fixed bug (envpathinfo underflow in fpmmain.c can lead to RCE). (CVE-2019-11043)

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.

In some versions of PHP in certain configurations of FPM setup, it is possible to cause FPM module to write past allocated buffers allowing the possibility of remote code execution.

CISA

Credit

CVE-2019-11043

Affected Software

84 affected componentsFixes available
redhat/php<0:5.3.3-50.el6_10
0:5.3.3-50.el6_10
redhat/php<0:5.4.16-46.1.el7_7
0:5.4.16-46.1.el7_7
redhat/php<0:5.4.16-46.1.el7_6
0:5.4.16-46.1.el7_6
redhat/rh-php70-php<0:7.0.27-2.el6
0:7.0.27-2.el6
redhat/rh-php72-php<0:7.2.24-1.el7
0:7.2.24-1.el7
redhat/rh-php71-php<0:7.1.30-2.el7
0:7.1.30-2.el7
redhat/rh-php70-php<0:7.0.27-2.el7
0:7.0.27-2.el7
redhat/php<7.3.11
7.3.11
redhat/php<7.2.24
7.2.24
redhat/php<7.1.33
7.1.33
debian/php5
debian/php7.0
debian/php7.3
Apple macOS Catalina<10.15.3
10.15.3
Apple Mojave
Apple High Sierra
PHP PHP<7.1.33
7.1.33
PHP FastCGI Process Manager (FPM)
PHP PHP>=7.1.0<7.1.33
PHP PHP>=7.2.0<7.2.24
PHP PHP>=7.3.0<7.3.11
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.04
Canonical Ubuntu Linux=19.10
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Fedoraproject Fedora=29
Fedoraproject Fedora=30
Fedoraproject Fedora=31
Tenable Tenable.Sc<5.19.0
redhat Software Collections=1.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Eus=7.7
redhat Enterprise Linux Eus=8.1
redhat Enterprise Linux Eus=8.2
redhat Enterprise Linux Eus=8.4
redhat Enterprise Linux Eus=8.6
redhat Enterprise Linux Eus=8.8
redhat Enterprise Linux Eus Compute Node=7.7
redhat Enterprise Linux For Arm 64=8.0_aarch64
redhat Enterprise Linux For Arm 64 Eus=8.1_aarch64
redhat Enterprise Linux For Arm 64 Eus=8.2_aarch64
redhat Enterprise Linux For Arm 64 Eus=8.4_aarch64
redhat Enterprise Linux For Arm 64 Eus=8.6_aarch64
redhat Enterprise Linux For Arm 64 Eus=8.8_aarch64
redhat Enterprise Linux For Ibm Z Systems=6.0_s390x
redhat Enterprise Linux For Ibm Z Systems=7.0_s390x
redhat Enterprise Linux For Ibm Z Systems=8.0_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=7.7_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=8.1_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=8.2_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=8.4_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=8.6_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=8.8_s390x
redhat Enterprise Linux For Power Big Endian=6.0_ppc64
redhat Enterprise Linux For Power Big Endian=7.0_ppc64
redhat Enterprise Linux For Power Big Endian Eus=7.7_ppc64
redhat Enterprise Linux For Power Little Endian=7.0_ppc64le
redhat Enterprise Linux For Power Little Endian=8.0_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=7.7_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=8.1_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=8.2_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=8.4_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=8.6_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=8.8_ppc64le
redhat Enterprise Linux For Scientific Computing=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.7
redhat Enterprise Linux Server Aus=8.2
redhat Enterprise Linux Server Aus=8.4
redhat Enterprise Linux Server Aus=8.6
redhat Enterprise Linux Server Tus=7.7
redhat Enterprise Linux Server Tus=8.2
redhat Enterprise Linux Server Tus=8.4
redhat Enterprise Linux Server Tus=8.6
redhat Enterprise Linux Server Tus=8.8
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0

Remediation

Information

1) Check your nginx configuration files, specially the ones related to php-fpm for presence of pattern bellow on fastcgi_split_path_info regex and PATH_INFO parameter: ~~~ fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_param PATH_INFO $fastcgi_path_info; ~~~ 2) If fastcgi_split_path_info regex matches with the one above, for each fastcgi_param PATH_INFO entry perform the following change: ~~~ fastcgi_param PATH_INFO $fastcgi_path_info if_not_empty; ~~~ This step will allow you to safely continue using PATH_INFO parameter while the patch is not applied. 3) Restart your nginx instance: ~~~ systemctl restart nginx ~~~

Event History

Oct 24, 2019
CVE Published
12:00 AM
Oct 28, 2019
CVE Published
via MITRE·02:19 PM
Data Sourced
via MITRE·02:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 25, 2022
Known Exploited
via CISA·12:00 AM
Known Ransomware
via CISA·12:00 AM
Aug 29, 2025
Data Sourced
via Ubuntu·12:07 AM
RemedyDescriptionSeverityAffected Software
Sep 14, 2025
Data Sourced
via Launchpad·12:12 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-11043?

CVE-2019-11043 is a vulnerability 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 that allows remote code execution.

2

How severe is CVE-2019-11043?

CVE-2019-11043 has a severity rating of 8.1 out of 10, making it critical.

3

Which software versions are affected by CVE-2019-11043?

PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24, and 7.3.x below 7.3.11 are affected by CVE-2019-11043.

4

How can I fix CVE-2019-11043?

To fix CVE-2019-11043, you need to update PHP to version 7.1.33, 7.2.24, or 7.3.11.

5

Where can I find more information about CVE-2019-11043?

You can find more information about CVE-2019-11043 at the following references: [https://www.php.net/ChangeLog-7.php#7.1.33](https://www.php.net/ChangeLog-7.php#7.1.33), [https://support.apple.com/en-us/HT210919](https://support.apple.com/en-us/HT210919), [https://www.cve.org/CVERecord?id=CVE-2019-11043](https://www.cve.org/CVERecord?id=CVE-2019-11043), [https://nvd.nist.gov/vuln/detail/CVE-2019-11043](https://nvd.nist.gov/vuln/detail/CVE-2019-11043), [https://www.nginx.com/blog/php-fpm-cve-2019-11043-vulnerability-nginx/](https://www.nginx.com/blog/php-fpm-cve-2019-11043-vulnerability-nginx/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203