{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-10033","id":"CVE-2016-10033","title":"Remote code execution in PHPMailer","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 \\\" (backslash double quote) in a crafted Sender property.","descriptionLong":"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":"2016-12-30T19:00:00.000Z","updated":"2026-10-24T10:46:19.745768974Z","reserved":"2016-12-22T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"phpmailer/phpmailer","purl":"pkg:composer/phpmailer/phpmailer","ranges":[">=5.0.0 <5.2.18"],"fixed":["5.2.18"],"advisory":"GHSA-5f37-gxvh-23v6"}],"cwes":["CWE-88","CWE-77"],"aliases":["GHSA-5f37-gxvh-23v6"],"references":[{"url":"http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://www.drupal.org/psa-2016-004","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.exploit-db.com/exploits/42221/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.exploit-db.com/exploits/40969/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.exploit-db.com/exploits/41962/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.exploit-db.com/exploits/40968/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Patch","Third Party Advisory","VDB Entry","fix"]},{"url":"https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"http://www.securityfocus.com/archive/1/539963/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://www.exploit-db.com/exploits/40974/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.exploit-db.com/exploits/40986/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.exploit-db.com/exploits/40970/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Patch","Third Party Advisory","VDB Entry","fix"]},{"url":"http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://www.exploit-db.com/exploits/41996/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://seclists.org/fulldisclosure/2016/Dec/78","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Mailing List","Patch","Third Party Advisory","fix","web"]},{"url":"http://www.securityfocus.com/bid/95108","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://www.securitytracker.com/id/1037533","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.exploit-db.com/exploits/42024/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-10033","tags":["government-resource","US Government Resource","web"]},{"url":"https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-5f37-gxvh-23v6","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10033","tags":["advisory"]},{"url":"https://www.exploit-db.com/exploits/42221","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/42024","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/41996","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/41962","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/40986","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/40974","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/40970","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/40969","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/40968","tags":["web"]},{"url":"https://github.com/PHPMailer/PHPMailer","tags":["package"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2016-10033.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2025-07-07","kevDue":"2025-07-28","kevEntry":{"cveID":"CVE-2016-10033","vendorProject":"PHP","product":"PHPMailer","vulnerabilityName":"PHPMailer Command Injection Vulnerability","dateAdded":"2025-07-07","shortDescription":"PHPMailer 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.","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","dueDate":"2025-07-28","knownRansomwareCampaignUse":"Unknown","notes":"This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18 ; https://github.com/advisories/GHSA-5f37-gxvh-23v6 ; https://nvd.nist.gov/vuln/detail/CVE-2016-10033","cwes":["CWE-77","CWE-88"]},"ssvc":{"exploitation":"active","automatable":"yes","technicalImpact":"total"},"epss":0.99714,"epssPercentile":0.99952,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-10033","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10033","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-10033","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5f37-gxvh-23v6","ok":true,"note":"GHSA-5f37-gxvh-23v6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2025-07-07"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-10033","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)","EPSS 100% with CVSS 9.8"],"attention":null}