CVE-2016-10033
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 \"
02 Description
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 \"
03 Exploitation and scoring
- Exploitation
- Exploited in the wild. Listed in the CISA Known Exploited Vulnerabilities catalog on 2025-07-07. Federal remediation due 2025-07-28.
- SSVC decision
- ExploitationactiveCISA reports credible evidence of active exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 99.71% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.9% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2016-12-30 19:00Z9 YR AGO
- Last updated
- 2025-10-21 23:55Z1 YR AGO
- Reserved
- 2016-12-22
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-88Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')Base
- Data version
- 5.1
- Document digest
- 0b92dd46c8ffd3edcb67d3400db6b9ded321faac0ff898cc6c5f2cb8a17136e8
05 Affected products
06 References
- packetstormsecurity.comhttp://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html
- www.drupal.orghttps://www.drupal.org/psa-2016-004
- www.exploit-db.com42221https://www.exploit-db.com/exploits/42221/
- www.exploit-db.com40969https://www.exploit-db.com/exploits/40969/
- www.exploit-db.com41962https://www.exploit-db.com/exploits/41962/
- www.exploit-db.com40968https://www.exploit-db.com/exploits/40968/
- legalhackers.comhttps://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html
- github.comhttps://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18
- www.securityfocus.com20161227 PHPMailer < 5.2.18 Remote Code Execution [updated advisory] [CVE-2016-10033]http://www.securityfocus.com/archive/1/539963/100/0/threaded
- github.comhttps://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities
- packetstormsecurity.comhttp://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.html
- www.exploit-db.com40974https://www.exploit-db.com/exploits/40974/
- www.exploit-db.com40986https://www.exploit-db.com/exploits/40986/
- www.exploit-db.com40970https://www.exploit-db.com/exploits/40970/
- www.rapid7.comhttp://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection
- www.exploit-db.com41996https://www.exploit-db.com/exploits/41996/
- seclists.org20161227 PHPMailer < 5.2.18 Remote Code Execution [CVE-2016-10033]http://seclists.org/fulldisclosure/2016/Dec/78
- www.securityfocus.com95108http://www.securityfocus.com/bid/95108
- www.securitytracker.com1037533http://www.securitytracker.com/id/1037533
- developer.joomla.orghttps://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html
- www.exploit-db.com42024https://www.exploit-db.com/exploits/42024/
- www.cisa.govhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-10033
07 Fixed in
Arch Linux
- wordpress Fixed in 4.7.1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- libphp-phpmailer Fixed in 5.2.14+dfsg-2.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libphp-phpmailer Fixed in 5.2.14+dfsg-2.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libphp-phpmailer Fixed in 5.2.14+dfsg-2.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- libphp-phpmailer Fixed in 5.2.14+dfsg-1ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.