cve.bz

CVE-2019-11043 PHP FastCGI Process Manager (FPM) Buffer Overflow Vulnerability

9.8 criticalKEVExploitEPSS 99.7%Fix available

Critical (9.8) in PHP FastCGI Process Manager (FPM). In CISA KEV since 2022-03-25, with known ransomware use. EPSS 99.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
99.7% (unchanged from 99.7% a week ago; 99.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2022-03-25, due 2022-04-15, known ransomware use
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2025-02-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-11043 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-11043?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-11043?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-11043 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PHPfrom 7.1.x before 7.1.33
PHPfrom 7.2.x before 7.2.24
PHPfrom 7.3.x before 7.3.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8php55.6.40+dfsg-0+deb8u7DLA-1970-1
Debian9php7.07.0.33-0+deb9u6DSA-4552-1
Debian10php7.37.3.11-1~deb10u1DSA-4553-1
Ubuntu16.04:LTSphp7.07.0.33-0ubuntu0.16.04.7UBUNTU-CVE-2019-11043 USN-4166-1
Ubuntu18.04:LTSphp7.27.2.24-0ubuntu0.18.04.1UBUNTU-CVE-2019-11043 USN-4166-1
UbuntuPro:14.04:LTSphp55.5.9+dfsg-1ubuntu4.29+esm6UBUNTU-CVE-2019-11043 USN-4166-2
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morephp, php-gd, php-cli and 25 more0:5.3.3-50.el6_10RHSA-2019:3287
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morephp, php-gd, php-cli and 23 more0:5.4.16-46.1.el7_7RHSA-2019:3286
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.12-2.module+el8.1.0+3202+af5476b9RHSA-2019:3735
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.17-1.module+el8.1.0+3189+a1bff096RHSA-2019:3736
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.5.1-2.module+el8.1.0+3202+af5476b9RHSA-2019:3735
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.5.2-1.module+el8.1.0+3189+a1bff096RHSA-2019:3736
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 51 more0:7.2.11-4.module+el8.1.0+4555+f5cb8e18RHSA-2019:3735
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 51 more0:7.3.5-5.module+el8.1.0+4560+e0eee7d6RHSA-2019:3736
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.5-9.module+el8.1.0+3202+af5476b9RHSA-2019:3735
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.9-1.module+el8.1.0+3189+a1bff096RHSA-2019:3736
Red Hatenterprise_linux:8::appstreamphp-pecl-zip, php-pecl-zip-debuginfo, php-pecl-zip-debugsource0:1.15.3-1.module+el8.1.0+3186+20164e6fRHSA-2019:3735
Red Hatenterprise_linux:8::appstreamphp-pecl-zip, php-pecl-zip-debuginfo, php-pecl-zip-debugsource0:1.15.4-1.module+el8.1.0+3189+a1bff096RHSA-2019:3736
10 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 morephp77.2.34-150000.4.103.1SUSE-SU-2022:4067-1
SUSELinux Enterprise Module for Package Hub 15, Linux Enterprise Module for Web and Scripting 15, Linux Enterprise Module for Web and Scripting 15 SP1php77.2.5-4.46.1SUSE-SU-2019:2819-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP4php55.5.14-109.68.1SUSE-SU-2020:0522-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP4, Linux Enterprise Software Development Kit 12 SP5php77.0.7-50.88.1SUSE-SU-2019:2809-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP4, Linux Enterprise Software Development Kit 12 SP5php727.2.5-1.29.1SUSE-SU-2019:2909-1
openSUSELeap 15.0php7, php7-test7.2.5-lp150.2.29.2openSUSE-SU-2019:2457-1
openSUSELeap 15.1php7, php7-test7.2.5-lp151.6.13.1openSUSE-SU-2019:2441-1
openSUSELeap 15.4php77.2.34-150000.4.103.1SUSE-SU-2022:4067-1
openSUSETumbleweedphp77.4.24-1.1openSUSE-SU-2024:11167-1
openSUSETumbleweedphp88.0.11-1.1openSUSE-SU-2024:11169-1
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.12-2.module_el8.3.0+2010+7c76a223ALSA-2019:3735
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.17-1.module_el8.3.0+2009+b272fdefALSA-2019:3736
AlmaLinux8libzip, libzip-devel, libzip-tools1.5.1-2.module_el8.3.0+2010+7c76a223ALSA-2019:3735
AlmaLinux8libzip, libzip-devel, libzip-tools1.5.1-2.module_el8.4.0+2228+7c76a223ALSA-2019:3735
AlmaLinux8libzip, libzip-devel, libzip-tools1.5.1-2.module_el8.5.0+53+9945c2afALSA-2019:3735
AlmaLinux8libzip, libzip-devel, libzip-tools1.5.2-1.module_el8.3.0+2009+b272fdefALSA-2019:3736
AlmaLinux8libzip, libzip-devel, libzip-tools1.5.2-1.module_el8.4.0+2229+b272fdefALSA-2019:3736
AlmaLinux8libzip, libzip-devel, libzip-tools1.5.2-1.module_el8.5.0+152+112d3b8cALSA-2019:3736
AlmaLinux8php-pear1:1.10.5-9.module_el8.3.0+2010+7c76a223ALSA-2019:3735
AlmaLinux8php-pear1:1.10.9-1.module_el8.3.0+2009+b272fdefALSA-2019:3736
AlmaLinux8php-pecl-apcu, php-pecl-apcu-devel5.1.12-2.module_el8.4.0+2228+7c76a223ALSA-2019:3735
AlmaLinux8php-pecl-apcu, php-pecl-apcu-devel5.1.12-2.module_el8.5.0+53+9945c2afALSA-2019:3735
8 more for AlmaLinux in the JSON.
Rocky Linux8libzip0:1.5.1-2.module+el8.4.0+413+c9202ddaRLSA-2019:3735
Rocky Linux8libzip0:1.5.2-1.module+el8.4.0+414+2e7afcddRLSA-2019:3736
Rocky Linux8php-pear1:1.10.5-9.module+el8.4.0+413+c9202ddaRLSA-2019:3735
Rocky Linux8php-pear1:1.10.9-1.module+el8.4.0+414+2e7afcddRLSA-2019:3736
Rocky Linux8php-pecl-apcu0:5.1.12-2.module+el8.4.0+413+c9202ddaRLSA-2019:3735
Rocky Linux8php-pecl-apcu0:5.1.17-1.module+el8.4.0+414+2e7afcddRLSA-2019:3736
Rocky Linux8php-pecl-zip0:1.15.3-1.module+el8.4.0+413+c9202ddaRLSA-2019:3735
Rocky Linux8php-pecl-zip0:1.15.4-1.module+el8.4.0+414+2e7afcddRLSA-2019:3736
Alpinev3.7php77.1.33-r0ALPINE-CVE-2019-11043
Alpinev3.8, v3.9php77.2.24-r0ALPINE-CVE-2019-11043
Alpinev3.10, v3.11, v3.12 and 3 morephp77.3.11-r0ALPINE-CVE-2019-11043

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

This issue only affects instances running php-fpm under nginx server software as environment paths and parameters are handled by different code pieces depending on the server php-fpm is running under. The code where this issue is found is used exclusively when php-fpm detects the request came through an nginx server.

Red Hat Product Security team rated this issue as having a Critical security impact as an attacker may take advantage from the existing bug to cause Remote Code Execution on network exposed software.

Red Hat's mitigation

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

~~~

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6php-0:5.3.3-50.el6_10Fixed 2019-10-31RHSA-2019:3287
Red Hat Enterprise Linux 7php-0:5.4.16-46.1.el7_7Fixed 2019-10-31RHSA-2019:3286
Red Hat Enterprise Linux 7.6 Extended Update Supportphp-0:5.4.16-46.1.el7_6Fixed 2020-07-07RHSA-2020:2835
Red Hat Enterprise Linux 8php:7.2-8010020191030112723.dcfb48bdFixed 2019-11-06RHSA-2019:3735
Red Hat Enterprise Linux 8php:7.3-8010020191030161321.dcfb48bdFixed 2019-11-06RHSA-2019:3736
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionsphp:7.2-8000020191113103901.5d58a046Fixed 2020-02-03RHSA-2020:0322
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-php70-php-0:7.0.27-2.el6Fixed 2019-11-06RHSA-2019:3724
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php72-php-0:7.2.24-1.el7Fixed 2019-11-01RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php71-php-0:7.1.30-2.el7Fixed 2019-11-01RHSA-2019:3300
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php70-php-0:7.0.27-2.el7Fixed 2019-11-06RHSA-2019:3724
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-php72-php-0:7.2.24-1.el7Fixed 2019-11-01RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-php71-php-0:7.1.30-2.el7Fixed 2019-11-01RHSA-2019:3300
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-php70-php-0:7.0.27-2.el7Fixed 2019-11-06RHSA-2019:3724
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-php72-php-0:7.2.24-1.el7Fixed 2019-11-01RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-php71-php-0:7.1.30-2.el7Fixed 2019-11-01RHSA-2019:3300
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-php70-php-0:7.0.27-2.el7Fixed 2019-11-06RHSA-2019:3724
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-php72-php-0:7.2.24-1.el7Fixed 2019-11-01RHSA-2019:3299
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Not affected
Red Hat Software Collectionsrh-php73-phpNot affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-11043.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-239-02All-Line Equipment Company Fuel-Boss2026-08-27Critical Manufacturing, Defense Industrial Base, Emergency Services, Transportation SystemsAll-Line Equipment Company Fuel-Boss V1 Standard: >=|<=PHP_7.1.5_7.1.5, All-Line Equipment Company Fuel-Boss V1 Portal: >=|<=PHP_7.1.5_7.1.5, All-Line Equipment Company Fuel-Boss V1 Master/Slave: >=|<=PHP_7.1.5_7.1.5 and 1 morenone listed
ICSA-26-027-02Festo Didactic SE MES PC2024-02-27Commercial Facilities, Communications, Critical Manufacturing, EnergyFesto Didactic SE MES PC shipped with Windows 10none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON