Skip to content
OpenAdvisories
High · 8.7 Known exploited · Ransomware Scanner template Public exploit CVE-2019-11043 EUVD-2019-2751GHSA-6qjm-m8fp-j2mm

Underflow in PHP-FPM can lead to RCE

Published Oct 28, 2019 · Updated Oct 21, 2025 · Assigned by php

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.

Affected products

VendorProductAffectedFixed
PHP PHP 7.1.x – < 7.1.33, 7.2.x – < 7.2.24, 7.3.x – < 7.3.11 7.1.33

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 10 php7.3 7.3.11-1~deb10u1 DSA-4553-1
Debian 9 php7.0 7.0.33-0+deb9u6 DSA-4552-1
Debian 8 php5 5.6.40+dfsg-0+deb8u7 DLA-1970-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS php7.2 7.2.24-0ubuntu0.18.04.1 USN-4166-1
Ubuntu 16.04 LTS php7.0 7.0.33-0ubuntu0.16.04.7 USN-4166-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.29+esm6 USN-4166-2
ReleasePackageFixed inAdvisory
RHEL 8 apcu-panel +2 5.1.12-2.module+el8.1.0+3202+af5476b9 RHSA-2019:3736, RHSA-2019:3735
RHEL 8 libzip +2 1.5.1-2.module+el8.1.0+3202+af5476b9 RHSA-2019:3736, RHSA-2019:3735
RHEL 8 php +25 7.2.11-4.module+el8.1.0+4555+f5cb8e18 RHSA-2019:3736, RHSA-2019:3735
RHEL 8 php-pear 1:1.10.5-9.module+el8.1.0+3202+af5476b9 RHSA-2019:3736, RHSA-2019:3735
RHEL 8 php-pecl-zip 1.15.3-1.module+el8.1.0+3186+20164e6f RHSA-2019:3736, RHSA-2019:3735
RHEL 7 php +24 5.4.16-46.1.el7_7 RHSA-2019:3286
RHEL 6 php +26 5.3.3-50.el6_10 RHSA-2019:3287
RHEL 3 rh-php70-php +29 7.0.27-2.el6 RHSA-2019:3724
RHEL 3 rh-php71-php +27 7.1.30-2.el7 RHSA-2019:3300
RHEL 3 rh-php72-php +27 7.2.24-1.el7 RHSA-2019:3299
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.0 E4S apcu-panel +2 5.1.12-1.module+el8+2561+1aca3413 RHSA-2020:0322
RHEL 8.0 E4S libzip +2 1.5.1-1.module+el8+2561+1aca3413 RHSA-2020:0322
RHEL 8.0 E4S php +25 7.2.11-1.1.module+el8.0.0+4664+17bd8d65 RHSA-2020:0322
RHEL 8.0 E4S php-pear 1:1.10.5-8.module+el8+2561+1aca3413 RHSA-2020:0322
RHEL 8.0 E4S php-pecl-zip 1.15.3-1.module+el8+2561+1aca3413 RHSA-2020:0322
RHEL 7.6 EUS php +24 5.4.16-46.1.el7_6 RHSA-2020:2835

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 apcu-panel +2 5.1.12-2.module_el8.3.0+2010+7c76a223 ALSA-2019:3736, ALSA-2019:3735
AlmaLinux 8 libzip +2 1.5.1-2.module_el8.3.0+2010+7c76a223 ALSA-2019:3736, ALSA-2019:3735
AlmaLinux 8 php-pear 1:1.10.5-9.module_el8.3.0+2010+7c76a223 ALSA-2019:3736, ALSA-2019:3735
AlmaLinux 8 php-pecl-zip 1.15.3-1.module_el8.3.0+2010+7c76a223 ALSA-2019:3736, ALSA-2019:3735

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libzip 1.5.1-2.module+el8.4.0+413+c9202dda RLSA-2019:3736, RLSA-2019:3735
Rocky Linux 8 php-pear 1:1.10.5-9.module+el8.4.0+413+c9202dda RLSA-2019:3736, RLSA-2019:3735
Rocky Linux 8 php-pecl-apcu 5.1.12-2.module+el8.4.0+413+c9202dda RLSA-2019:3736, RLSA-2019:3735
Rocky Linux 8 php-pecl-zip 1.15.3-1.module+el8.4.0+413+c9202dda RLSA-2019:3736, RLSA-2019:3735
ReleasePackageFixed inAdvisory
SLES 15 SP1 php7 7.2.5-4.46.1 SUSE-SU-2022:4067-1, SUSE-SU-2019:2819-1
SLES 15 php7 7.2.5-4.46.1 SUSE-SU-2022:4067-1, SUSE-SU-2019:2819-1
SLES 12 SP5 php7 7.0.7-50.88.1 SUSE-SU-2019:2809-1
SLES 12 SP5 php72 7.2.5-1.29.1 SUSE-SU-2019:2909-1
SLES 12 SP4 php5 5.5.14-109.68.1 SUSE-SU-2020:0522-1
SLES 12 SP4 php7 7.0.7-50.88.1 SUSE-SU-2019:2809-1
SLES 12 SP4 php72 7.2.5-1.29.1 SUSE-SU-2019:2909-1
SLES 12 php5 5.5.14-109.68.1 SUSE-SU-2020:0522-1
SLES 12 php7 7.0.7-50.88.1 SUSE-SU-2019:2809-1
SLES 12 php72 7.2.5-1.29.1 SUSE-SU-2019:2909-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLES for SAP 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLE HPC 15 SP1 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SLE HPC 15 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
SUSE Enterprise Storage 6 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php7 7.4.24-1.1 openSUSE-SU-2024:11167-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1
openSUSE Leap 15.4 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4067-1
openSUSE Leap 15.1 php7 +1 7.2.5-lp151.6.13.1 openSUSE-SU-2019:2441-1
openSUSE Leap 15.0 php7 +1 7.2.5-lp150.2.29.2 openSUSE-SU-2019:2457-1
ReleasePackageFixed inAdvisory
Alpine v3.15 php7 7.3.11-r0 —
Alpine v3.14 php7 7.3.11-r0 —
Alpine v3.13 php7 7.3.11-r0 —
Alpine v3.12 php7 7.3.11-r0 —
Alpine v3.11 php7 7.3.11-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.10 php7 7.3.11-r0 —
Alpine v3.9 php7 7.2.24-r0 —
Alpine v3.8 php7 7.2.24-r0 —
Alpine v3.7 php7 7.1.33-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 php +23 5.4.16-46.amzn2.0.2 ALAS2-2019-1344

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 apcu-panel +2 5.1.12-2.module+el8.1.0+5443+bc1aeb77 ELSA-2019-3736, ELSA-2019-3735
Oracle Linux 8 libzip +2 1.5.1-2.module+el8.1.0+5443+bc1aeb77 ELSA-2019-3736, ELSA-2019-3735
Oracle Linux 8 php +25 7.2.11-4.module+el8.1.0+5443+bc1aeb77 ELSA-2019-3736, ELSA-2019-3735
Oracle Linux 8 php-pear 1:1.10.5-9.module+el8.1.0+5443+bc1aeb77 ELSA-2019-3736, ELSA-2019-3735
Oracle Linux 8 php-pecl-zip 1.15.3-1.module+el8.1.0+5443+bc1aeb77 ELSA-2019-3736, ELSA-2019-3735
Oracle Linux 7 php +24 5.4.16-46.1.el7_7 ELSA-2019-3286

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 2

GitHub 29 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Advisories 35

References