PHP flaws being used in attacks
CISA lists 3 flaws in PHP products as being used in attacks, most recently on 7 Jul 2025. 1 has been used in ransomware.
PHPBeing used in attacks
- On CISA’s list
- 3 flaws, added between 25 Mar 2022 and 7 Jul 2025
- Most recent
- CVE-2016-10033, PHPMailer Command Injection Vulnerability, added 7 Jul 2025
- Used in ransomware
- 1 flaw, according to CISA
- Products
- FastCGI Process Manager (FPM) (1), PHP (1), PHPMailer (1)
What to do
- Update every PHP product you use.Install the updates PHP offers, on every device, and restart when asked. Each flaw below has a fix or clear advice; that’s one of CISA’s conditions for listing it.
- If someone looks after IT for you, send them this page.Many of these are in equipment you don’t see: routers, firewalls, servers, the office network. Ask them to confirm each one is fixed, or that you don’t use the product.
- Check anything else in the lookup.Search any app, company or CVE. Not being on CISA’s list doesn’t mean safe: keep updating either way.
Every flaw, newest first
- PHPMailer
CVE-2016-10033PHPMailer Command Injection VulnerabilityPHPMailer contains a command injection vulnerability because it fails to sanitize user-supplied input. Specifically, this issue affects the 'mail()' function of 'class.phpmailer.php' script. An attacker can exploit this issue to execute arbitrary code within the context of the application. Failed exploit attempts will result in a denial-of-service condition.CISA’s required actionApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. - PHP FastCGI Process Manager (FPM)
CVE-2019-11043PHP FastCGI Process Manager (FPM) Buffer Overflow VulnerabilityIn some versions of PHP in certain configurations of FPM setup, it is possible to cause FPM module to write past allocated buffers allowing the possibility of remote code execution.CISA’s required actionApply updates per vendor instructions. - PHP
CVE-2012-1823PHP-CGI Query String Parameter Vulnerabilitysapi/cgi/cgi_main.c in PHP, when configured as a CGI script, does not properly handle query strings, which allows remote attackers to execute arbitrary code.CISA’s required actionApply updates per vendor instructions.
From CISA’s Known Exploited Vulnerabilities catalog, updated 21 Oct 2026 (version 2026.10.21). CISA’s required actions are written for US government agencies. PHP on CISA’s site.
