PHP · runtime · 2019-10-24

PHP-FPM environment path underflow

CVE CVE-2019-11043 Critical

A 2019 PHP-FPM memory-corruption flaw that became a canonical example of why an upstream version check and a distribution backport can tell different stories.

Patch status
Patch available
Exploitation
Known exploitation
CISA KEV
Listed

Key facts

Each fact is linked to the source that supports it.
  1. The underflow is in fpm_main.c and is tracked as PHP bug #78599. PHP Bug Tracker PHP Group
  2. NVD lists two different CVSS v3.1 assessments: 9.8 and 8.7. NIST NVD
  3. CISA added the CVE to KEV on 25 March 2022. CISA

Summary

Remote code execution in certain PHP-FPM configurations. A buffer underflow in fpm_main.c can write past an allocated buffer into FCGI protocol data.

Component: PHP-FPM. Disclosed: 24 October 2019. Last verified: 22 October 2026, 16:45 UTC.

Affected versions

Product Affected range Note
PHP 7.1 < 7.1.33 Certain FPM configurations.
PHP 7.2 < 7.2.24 Certain FPM configurations.
PHP 7.3 < 7.3.11 Certain FPM configurations.

Version ranges preserve the source wording. A distribution package may contain a backport without changing this string. NIST NVD

Fixed versions

Product Fixed version Note
PHP 7.1 7.1.33 Fixed branch per NVD.
PHP 7.2 7.2.24 Fixed branch per NVD.
PHP 7.3 7.3.11 Fixed branch per NVD.

Fixed in 7.1.33, 7.2.24 and 7.3.11. All three branches are end-of-life today; using them is itself a risk. NIST NVD

Conditions and scope

These are the conditions named by the sources. They are not a score and not a prediction.

  • PHP-FPM deployment in a configuration where the FastCGI path handling is exposed.
  • NVD says 'certain configurations'; it does not describe every FPM deployment as affected.
  • Not the same flaw as PHP2Shell, despite both being request-lifecycle memory bugs.

Exploitation status

CISA added CVE-2019-11043 to KEV on 25 March 2022. KEV indicates known exploitation; it does not quantify incidents.

CISA KEV — listed

Present in the downloaded CISA KEV catalog.

Catalog version · checked 22 October 2026, 16:53 UTC · added 2022-03-25.

Severity and scoring

Scores are listed with their version and assessor. Different CVSS versions, and different assessors, are not averaged. The presence of a high score does not establish exploitation, and a lower score does not make a memory-safety defect harmless.

9.8
CVSS v3.1 · Critical
NVD (one assessor)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
8.7
CVSS v3.1 · High
NVD (another assessor)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Mechanism

The original PHP bug report describes an env_path_info underflow in fpm_main.c that can lead to remote code execution. NVD's description says that in certain FPM configurations the module can write past allocated buffers into the space reserved for FCGI protocol data.

That wording matters. 'PHP-FPM' is not by itself a complete exposure statement. The deployment configuration and the request path handling are part of the condition.

Why it remains a useful reference

The flaw is old, but its operational lessons are current: check the actual SAPI, check the vendor package changelog, and do not assume an upstream version string reflects a distribution backport. The same issues appear in the PHP2Shell verification guide.

It is a historical reference, not evidence that PHP2Shell shares a root cause. The relation on this site is deliberately labelled as similar mechanism only.

What to do

Sources

Sources for this record

Last verified 22 October 2026, 16:45 UTC. A statement that no evidence was found in checked sources is not a statement that an event never occurred.

Search PHP2Shell Live

Type to search the local index Results stay in your browser
↑ ↓ move Enter open Esc close