CVE-2016-10033
CVE-2016-10033 — PHPMailer Command Injection Vulnerability
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \" (backslash double quote) in a crafted Sender property.
Published Updated Sources: NVD, PHP (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Jul 7, 2025
EPSS
100%
top of FIRST's scoreset
CVSS base
9.8
critical · 4 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade phpmailer/phpmailer to 5.2.18 or later (composer advisory GHSA-5f37-gxvh-23v6).
CISA required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Federal deadline Jul 28, 2025 — passed 494 days ago
Red Hat VEX · CVE-2016-10033
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| PHP | PHPMailer | n/a | Vulnerable |
| Composer | phpmailer/phpmailer | >= 5.0.0, < 5.2.18 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | NVD, CNA |
| 7.5 | CVSS 2.0 | high | 10 | 6.4 | NVD |
| 9.8 | CVSS 3.1 | critical | n/a | n/a | GHSA |
| 9.8 | CVSS 3.1 | critical | n/a | n/a | Red Hat (VEX) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
- Execute Unauthorized Code or Commands
Mitigation: If at all possible, use library calls rather than external processes to recreate the desired functionality.
CWE-88 · Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
- Execute Unauthorized Code or Commands
- Alter Execution Logic
- Read Application Data
- Modify Application Data
Mitigation: Where possible, avoid building a single string that contains the command and its arguments. Some languages or frameworks have functions that support specifying independent arguments, e.g. as an array, which is used to automatically perform the appropriate quoting or escaping while building the command. For example, in PHP, escapeshellarg() can be used to escape a single argument to system(), or exec() can be called with an array of arguments. In C, code can often be refactored from using system() - which accepts a single string - to using exec(), which requires separate function arguments for each parameter.
Weakness & attack patterns
- CWE-88
- CWE-77Command Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Jul 7, 2025
Federal deadline
Jul 28, 2025
passed 494 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
222
1 of the 5 sampled are weaponized
Exploit entries
45
Exploit-DB and CTI exploit indexes
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable PHPMailer, Phpmailer/phpmailer.
- Monitor for scanner or exploit-pattern traffic after 267 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
2 more threat groups on this CVEShowing 5 of 7 · Attribution, campaigns and the malware each one runsUnlock free- hostnameguesthouse43480.com67
Internal Malware Information and Threat Sharing Platform · Jun 5, 2026
- hostnamefiliatramp.store77
Hole Cert · Oct 10, 2026
- hostnameheadnerdsincharge.com81
Hole Cert · Oct 30, 2026
- hostnametehqvlxnrr.help70
Hole Cert · Jun 10, 2026
- hostnameworldbreakingdigest.live61
Hole Cert · Sep 2, 2025
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 9.8 (AV:N)
Jun 17, 2026 · NVD
- 2025
Added to CISA KEV catalog
Jul 7, 2025 · CISA
- 2020
Added · GHSA-5f37-gxvh-23v6 published (critical)
Mar 5, 2020 · GitHub Security Advisory
- 2017
Added · Verified remote entry: WordPress Plugin PHPMailer 4.6 - Host Header Command Injection (Metasploit)
May 17, 2017 · Exploit-DB
Added · remote entry: Vanilla Forums < 2.3 - Remote Code Execution (RCE)
May 11, 2017 · Exploit-DB
- 2016
Initial · CVE published
Dec 30, 2016 · NVD
Added · Verified webapps entry: PHPMailer < 5.2.19 - Sendmail Argument Injection (Metasploit)
Dec 26, 2016 · Exploit-DB
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 20×SVRS was changedJul 8, 2025 – Aug 13, 2026 · SOCRadar CTI
- 6×TweetsJul 9, 2025 – Jul 15, 2025 · SOCRadar CTI
- 2×Github ReposAug 11, 2025 – Jul 24, 2026 · SOCRadar CTI
- 1×CVE modified by NIST: Publish date, CISA KEV details updated.Jul 8, 2025 · SOCRadar CTI
References
29 on the record
- packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.html
Exploit, Third Party Advisory, VDB Entry, GITHUB, NIST, MITRE_REFERENCES
- packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html
Exploit, Third Party Advisory, VDB Entry, GITHUB, NIST, MITRE_REFERENCES
- seclists.org/fulldisclosure/2016/Dec/78
Mailing List, Patch, Third Party Advisory, GITHUB, Mitre, NIST
- www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection
Exploit, Third Party Advisory, NIST
- www.securityfocus.com/archive/1/539963/100/0/threaded
Broken Link, Third Party Advisory, VDB Entry
- www.securityfocus.com/bid/95108
Broken Link, Exploit, Third Party Advisory, VDB Entry
- www.securitytracker.com/id/1037533
Broken Link, Third Party Advisory, VDB Entry
- developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html
Third Party Advisory, NIST, MITRE_REFERENCES
Coverage
3 stories from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2016-10045 The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently…CVSS 9.8
- CVE-2026-105134 Ahsay AhsayCBS Replication Receiver UpdateReceivers.do os command injectionCVSS 10.0 · CISA KEV
- CVE-2024-3400 PAN-OS: Arbitrary File Creation Leads to OS Command Injection Vulnerability in GlobalProtectCVSS 10.0 · CISA KEV
- CVE-2026-116779 FreeSWITCH: Inbound SIP MESSAGE can select the api chat proto and run FreeSWITCH API commandsCVSS 9.8 · CISA KEV
- CVE-2026-86060 SSH session privilege manipulation via a crafted username in Mikrotik RouterOSCVSS 9.8 · CISA KEV
- CVE-2026-24061 GNU InetUtils Argument Injection VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2016-10033 is PHPMailer Command Injection Vulnerability, a critical vulnerability affecting PHPMailer, Phpmailer/phpmailer from PHP, Composer. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 267 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 100% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.