Skip to content
Server Security Center
KEVcritical9.8 Used in ransomware campaigns

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

PHP FastCGI Process Manager (FPM) · listed in the CISA catalog of actively exploited vulnerabilities since 2022-03-25.

CVSS v3.1 (CVE record)
9.8
critical
EPSS (exploit probability, 30 days)
99.7%
among the highest 0.1% of all CVEs
Added to CISA KEV
2022-03-25
US federal due date 2022-04-15
Ubuntu priority
medium

CVE-2019-11043 explained

CVE-2019-11043 is a buffer overflow in the PHP FastCGI Process Manager (FPM). In certain FPM configurations, the FPM module can write past allocated buffers into space reserved for FCGI protocol data, which opens the possibility of remote code execution. It is listed in the CISA Known Exploited Vulnerabilities catalog with known ransomware use.

Impact

A remote attacker without credentials or user interaction may be able to execute code on servers running a vulnerable PHP-FPM setup over the network. Successful exploitation can lead to full loss of confidentiality, integrity and availability for the affected service. Only certain FPM configurations are vulnerable. The issue is known to be exploited in the wild, including in ransomware campaigns.

Who is affected

Three Ubuntu releases have fixed packages. Ubuntu 14.04 LTS (php5) is fixed in 5.5.9+dfsg-1ubuntu4.29+esm6, available only through Ubuntu Pro (ESM). Ubuntu 16.04 LTS (php7.0) is fixed in 7.0.33-0ubuntu0.16.04.7. Ubuntu 18.04 LTS (php7.2) is fixed in 7.2.24-0ubuntu0.18.04.1. Ubuntu 14.04 LTS and 16.04 LTS are end of life. Standard support for 18.04 LTS has ended.

Written with AI from the data on this page and checked against it automatically.

Official 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.

CISA required action: Apply updates per vendor instructions.

CISA notes

Upstream versions (CVE record)

From the CVE record published by the vendor or CVE numbering authority.

  • PHP
    Affected
    • 7.1.x, < 7.1.33
    • 7.2.x, < 7.2.24
    • 7.3.x, < 7.3.11
    Fixed in
    • 7.1.33
    • 7.2.24
    • 7.3.11

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. Identify hosts running PHP-FPM, especially those exposed to the network.
  2. Update the php5, php7.0 or php7.2 packages to the fixed version for your release.
  3. On Ubuntu 14.04 LTS, enable Ubuntu Pro (ESM) to obtain the fixed php5 package.
  4. Restart PHP-FPM and the web server so the patched code is loaded.
  5. Plan upgrades of end-of-life releases to a supported Ubuntu release.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Run on each Ubuntu or Debian server. Replace php5 with the source package from the table above (this CVE affects 3 source packages).

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="php5"'

2. Compare each installed version with the fixed version for your release from the table

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the fix

sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="php5"{print $1}')

Services keep running the old code until they are restarted – restart the affected service or check with needrestart.

Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-120 Buffer Overflow

Questions about CVE-2019-11043

Is this vulnerability being exploited?
Yes. CISA added CVE-2019-11043 to its Known Exploited Vulnerabilities catalog on 2022-03-25 and lists known ransomware use. Its required action is to apply updates per vendor instructions.
Are all PHP installations affected?
No. The description states that only certain configurations of the FPM setup are vulnerable. Treat any PHP-FPM deployment on an affected version as at risk and update it.
Do I need to restart anything after updating?
Yes. Running PHP-FPM processes keep using the old code until they are restarted. Restart PHP-FPM, and the web server if needed, after installing the update.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.