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.

โ€” Ubuntu

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

93 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
Apple macOS Catalina<10.15.3
10.15.3
Apple Mojave
Apple High Sierra
PHP PHP<7.1.33
7.1.33
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
PHP FastCGI Process Manager (FPM)
alpine/php7<7.3.11-r0
7.3.11-r0
alpine/php7<7.3.11-r0
7.3.11-r0
alpine/php7<7.3.11-r0
7.3.11-r0
alpine/php7<7.3.11-r0
7.3.11-r0
alpine/php7<7.3.11-r0
7.3.11-r0
alpine/php7<7.3.11-r0
7.3.11-r0
alpine/php7<7.1.33-r0
7.1.33-r0
alpine/php7<7.2.24-r0
7.2.24-r0
alpine/php7<7.2.24-r0
7.2.24-r0
debian/php5
5.6.40+dfsg-0+deb8u7
debian/php7.0
7.0.33-0+deb9u6
debian/php7.3
7.3.11-1~deb10u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 0:5.3.3-50.el6_10
  2. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 0:5.4.16-46.1.el7_7
  3. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 0:5.4.16-46.1.el7_6
  4. Upgrade

    Upgrade redhat/rh-php70-php to a version that resolves this vulnerability.

    Fixed in 0:7.0.27-2.el6
  5. Upgrade

    Upgrade redhat/rh-php72-php to a version that resolves this vulnerability.

    Fixed in 0:7.2.24-1.el7
  6. Upgrade

    Upgrade redhat/rh-php71-php to a version that resolves this vulnerability.

    Fixed in 0:7.1.30-2.el7
  7. Upgrade

    Upgrade redhat/rh-php70-php to a version that resolves this vulnerability.

    Fixed in 0:7.0.27-2.el7
  8. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.3.11
  9. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.2.24
  10. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.1.33
  11. Upgrade

    Upgrade macOS Catalina to a version that resolves this vulnerability.

    Fixed in 10.15.3
  12. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.1.33
  13. Upgrade

    Upgrade alpine/php7 to a version that resolves this vulnerability.

    Fixed in 7.3.11-r0
  14. Upgrade

    Upgrade alpine/php7 to a version that resolves this vulnerability.

    Fixed in 7.1.33-r0
  15. Upgrade

    Upgrade alpine/php7 to a version that resolves this vulnerability.

    Fixed in 7.2.24-r0
  16. Upgrade

    Upgrade debian/php5 to a version that resolves this vulnerability.

    Fixed in 5.6.40+dfsg-0+deb8u7
  17. Upgrade

    Upgrade debian/php7.0 to a version that resolves this vulnerability.

    Fixed in 7.0.33-0+deb9u6
  18. Upgrade

    Upgrade debian/php7.3 to a version that resolves this vulnerability.

    Fixed in 7.3.11-1~deb10u1
  19. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.2.24
  20. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.3.11
  21. Configuration

    For each fastcgi_param PATH_INFO entry associated with fastcgi_split_path_info ^(.+?\.php)(/.*)$, change fastcgi_param PATH_INFO $fastcgi_path_info; to fastcgi_param PATH_INFO $fastcgi_path_info if_not_empty; while the PHP-FPM patch is not applied.

    nginx PHP-FPM configuration fastcgi_param PATH_INFO = $fastcgi_path_info if_not_empty
  22. Operational

    Restart the nginx instance with systemctl restart nginx.

Event History

Sep 23, 2019
Exploit Published
via GitHubยท09:37 PM
Oct 22, 2019
CVE Published
via MITREยท12:00 AM
Data Sourced
via MITREยท12:00 AM
DescriptionSeverityWeakness
Oct 24, 2019
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Ubuntuยท12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntuยท12:00 AM
Remedy
Updated
via Ubuntuยท12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntuยท12:00 AM
Description
Updated
12:00 AM
Affected Software
Oct 28, 2019
CVE Published
via MITREยท02:19 PM
Data Sourced
via OSVยท03:15 PM
DescriptionSeverityAffected Software
Nov 28, 2019
Data Sourced
via PHPยท12:00 AM
DescriptionAffected Software
Mar 25, 2022
Kev Listed
via CISAยท12:00 AM
Known Ransomware
via CISAยท12:00 AM
Data Sourced
via CISAยท12:00 AM
DescriptionAffected Software
Data Sourced
via CISAยท12:00 AM
Weakness
Updated
via CISAยท12:00 AM
Affected Software
Oct 6, 2023
Data Sourced
via Red Hatยท06:43 PM
DescriptionSeverityAffected Software
Nov 7, 2023
Data Sourced
via NVDยท03:02 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:02 AM
Affected Software
Jul 16, 2024
Updated
via NVDยท05:52 PM
Affected Software
Nov 21, 2024
Updated
via NVDยท04:20 AM
RemedyAffected Software
Feb 14, 2025
Updated
via NVDยท04:43 PM
Affected Software
Updated
via NVDยท04:43 PM
RemedyAffected Software
Aug 25, 2025
Updated
via Ubuntuยท12:00 AM
Description
Oct 21, 2025
Updated
via NVDยท07:17 PM
Affected Software
Oct 22, 2025
Updated
via NVDยท12:16 AM
Affected Software

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