CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
Also known as EDB-47553, EDB-48182
Mitigation
- Upgrade PHP to 7.3.11 or later.
- Vendor workaround: Configuring nginx (or other server that implements the front-end part of the FPM protocol) to check for the existence of the target file before passing it to PHP FPM (e.g. "try_files $uri =404" or "if (-f $uri)" in nginx) for would prevent this vulnerability from happening.
Who should check
- Anyone running PHP >= 7.1.x, < 7.1.33; >= 7.2.x, < 7.2.24; >= 7.3.x, < 7.3.11
Vulnerability facts
- Affected
- PHP >= 7.1.x, < 7.1.33; >= 7.2.x, < 7.2.24; >= 7.3.x, < 7.3.11
- Fixed in
- PHP 7.1.33, PHP 7.2.24, PHP 7.3.11
- Exploited in the wild
- Yes: in CISA KEV since 2022-03-25; federal due date 2022-04-15; known ransomware use
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 99.78% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-120
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PHP | >= 7.1.x, < 7.1.33; >= 7.2.x, < 7.2.24; >= 7.3.x, < 7.3.11 | — | cvelist |
Timeline
- 2019-10-28 Published
- 2022-03-25 Added to CISA KEV (exploited in the wild)
- 2022-04-15 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2019-11043. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-11043.md Affected: PHP >= 7.1.x, < 7.1.33; >= 7.2.x, < 7.2.24; >= 7.3.x, < 7.3.11 Fixed in: PHP 7.1.33, PHP 7.2.24, PHP 7.3.11 Steps: 1. Search this machine and project for PHP: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://usn.ubuntu.com/4166-1/
- https://www.debian.org/security/2019/dsa-4552
- https://www.debian.org/security/2019/dsa-4553
- https://usn.ubuntu.com/4166-2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T62LF4ZWVV7OMMIZFO6IFO5QLZKK7YRD/
- https://access.redhat.com/errata/RHSA-2019:3286
- https://access.redhat.com/errata/RHSA-2019:3287
- https://access.redhat.com/errata/RHSA-2019:3299
- https://access.redhat.com/errata/RHSA-2019:3300
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3W23TP6X4H7LB645FYZLUPNIRD5W3EPU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FSNBUSPKMLUHHOADROKNG5GDWDCRHT5M/
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00011.html
- https://access.redhat.com/errata/RHSA-2019:3724
- https://access.redhat.com/errata/RHSA-2019:3735
- https://access.redhat.com/errata/RHSA-2019:3736
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00014.html
- https://access.redhat.com/errata/RHSA-2020:0322
Exploits and PoCs
Other
- https://support.f5.com/csp/article/K75408500?utm_source=f5support&%3Butm_medium=RSS
- https://security.netapp.com/advisory/ntap-20191031-0003/
- https://www.synology.com/security/advisory/Synology_SA_19_36
- https://support.apple.com/kb/HT210919
- https://seclists.org/bugtraq/2020/Jan/44
- http://seclists.org/fulldisclosure/2020/Jan/40
- https://www.tenable.com/security/tns-2021-14
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-11043
FAQ
Is CVE-2019-11043 being exploited?
Yes. CISA lists CVE-2019-11043 in its Known Exploited Vulnerabilities catalog since 2022-03-25, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 99.78% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-11043?
High: CVSS 8.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2019-11043?
PHP >= 7.1.x, < 7.1.33; >= 7.2.x, < 7.2.24; >= 7.3.x, < 7.3.11.
Is there a fix for CVE-2019-11043?
Yes. Fixed in PHP 7.1.33, PHP 7.2.24, PHP 7.3.11. Upgrade PHP to 7.3.11 or later. Vendor workaround: Configuring nginx (or other server that implements the front-end part of the FPM protocol) to check for the existence of the target file before passing it to PHP FPM (e.g. "try_files $uri =404" or "if (-f $uri)" in nginx) for would prevent this vulnerability from happening.
How do I check if I'm affected by CVE-2019-11043?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.