nday
CVE-2016-10033

PHPMailer Command Injection Vulnerability

PHP / PHPMailer

Added to KEV 3,111 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 3 of 4 PoC sources: exploitdb, metasploit, and nuclei.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-88, stated by the ADP CISA-ADP, NVD's analysts, and NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
Metasploit
Metasploit modules exploit/multi/http/phpmailer_arg_injection, exploit/unix/webapp/wp_phpmailer_host_header
Exploit-DB
Exploit-DB entries 40968, 40969, 40970, 40974, 40986, 41962, 41996, 42024, 42221
nuclei
nuclei templates CVE-2016-10033
WordPress
CPE names NVD's analysts give as vulnerable: a:wordpress:wordpress
Joomla!
CPE names NVD's analysts give as vulnerable: a:joomla:joomla!
CMS and plugins
CPE names NVD's analysts give as vulnerable: a:joomla:joomla!, a:wordpress:wordpressthe product type of Joomla! and WordPress in nday's product registry
stage
KEV
disclosed
disclosure → KEV
T+3111d KEV is date-only
cvss
9.8 CRITICAL v3.1
KEV due date
2025-07-28

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2016-12-30T19:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2016-12-25, date only +8 more
metasploit, nuclei
ITWexploited
≤ 2025-07-07, inferred from KEV
KEVKEV
2025-07-07, date only

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

Event log

2016-12-25date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHPMailer < 5.2.18 - Remote Code Execution” (EDB-40970).

src exploitdb 40970 · nday , bulk import · raw
{
  "id": 37608,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/40970",
  "occurred_at": "2016-12-25T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "40970",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/40970",
    "file": "exploits/php/webapps/40970.php",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "PHPMailer < 5.2.18 - Remote Code Execution",
    "author": "Dawid Golunski",
    "edb_id": 40970,
    "cve_ids": [
      "CVE-2016-10033"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2016-12-28",
    "date_updated": "2016-12-28",
    "date_published": "2016-12-25"
  }
}
2016-12-26date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHPMailer < 5.2.18 - Remote Code Execution” (EDB-40968). Verified by Exploit-DB.

src exploitdb 40968 · nday , bulk import · raw
{
  "id": 37607,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/40968",
  "occurred_at": "2016-12-26T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "40968",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/40968",
    "file": "exploits/php/webapps/40968.sh",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "PHPMailer < 5.2.18 - Remote Code Execution",
    "author": "Dawid Golunski",
    "edb_id": 40968,
    "cve_ids": [
      "CVE-2016-10033"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2016-12-26",
    "date_updated": "2020-03-23",
    "date_published": "2016-12-26"
  }
}
2016-12-27date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHPMailer < 5.2.20 - Remote Code Execution” (EDB-40969).

src exploitdb 40969 · nday , bulk import · raw
{
  "id": 37611,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/40969",
  "occurred_at": "2016-12-27T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "40969",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/40969",
    "file": "exploits/php/webapps/40969.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "PHPMailer < 5.2.20 - Remote Code Execution",
    "author": "Dawid Golunski",
    "edb_id": 40969,
    "cve_ids": [
      "CVE-2016-10045",
      "CVE-2016-10033"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2016-12-28",
    "date_updated": "2016-12-28",
    "date_published": "2016-12-27"
  }
}
2016-12-29date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHPMailer < 5.2.18 - Remote Code Execution” (EDB-40974).

src exploitdb 40974 · nday , bulk import · raw
{
  "id": 37609,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/40974",
  "occurred_at": "2016-12-29T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "40974",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/40974",
    "file": "exploits/php/webapps/40974.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "PHPMailer < 5.2.18 - Remote Code Execution",
    "author": "anarc0der",
    "edb_id": 40974,
    "cve_ids": [
      "CVE-2016-10033"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2016-12-29",
    "date_updated": "2016-12-29",
    "date_published": "2016-12-29"
  }
}
+DISdisclosed

CVE record published by mitre. CVSS 9.8, critical. CISA's SSVC assessment rates exploitation as active.

src cvelist · nday , bulk import · raw
{
  "id": 18225,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2016-10033",
  "occurred_at": "2016-12-30T19:00:00Z",
  "observed_at": "2026-11-12T15:02:49.796473Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "kev": {
      "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-10033",
      "date_added": "2025-07-07"
    },
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.8,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-07-17T03:55:44.949090Z",
      "automatable": "yes",
      "exploitation": "active",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2016-12-30T19:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2017-01-02date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - 'AIO' 'PwnScriptum' Remote Code Execution” (EDB-40986).

src exploitdb 40986 · nday , bulk import · raw
{
  "id": 37615,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/40986",
  "occurred_at": "2017-01-02T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "40986",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/40986",
    "file": "exploits/php/webapps/40986.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "PHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - 'AIO' 'PwnScriptum' Remote Code Execution",
    "author": "Dawid Golunski",
    "edb_id": 40986,
    "cve_ids": [
      "CVE-2016-10074",
      "CVE-2016-10045",
      "CVE-2016-10034",
      "CVE-2016-10033"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2017-01-02",
    "date_updated": "2017-01-02",
    "date_published": "2017-01-02"
  }
}
2017-05-03date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “WordPress Core 4.6 - Remote Code Execution” (EDB-41962).

src exploitdb 41962 · nday , bulk import · raw
{
  "id": 25607,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/41962",
  "occurred_at": "2017-05-03T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "41962",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/41962",
    "file": "exploits/linux/webapps/41962.sh",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "WordPress Core 4.6 - Remote Code Execution",
    "author": "Dawid Golunski",
    "edb_id": 41962,
    "cve_ids": [
      "CVE-2016-10033"
    ],
    "platform": "linux",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2017-05-04",
    "date_updated": "2017-05-04",
    "date_published": "2017-05-03"
  }
}
2017-05-11date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Vanilla Forums < 2.3 - Remote Code Execution” (EDB-41996).

src exploitdb 41996 · nday , bulk import · raw
{
  "id": 28800,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/41996",
  "occurred_at": "2017-05-11T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "41996",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/41996",
    "file": "exploits/php/remote/41996.sh",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "Vanilla Forums < 2.3 - Remote Code Execution",
    "author": "Dawid Golunski",
    "edb_id": 41996,
    "cve_ids": [
      "CVE-2016-10073",
      "CVE-2016-10033"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2017-05-12",
    "date_updated": "2017-05-12",
    "date_published": "2017-05-11"
  }
}
2017-05-17date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “WordPress Plugin PHPMailer 4.6 - Host Header Command Injection (Metasploit)” (EDB-42024). Verified by Exploit-DB.

src exploitdb 42024 · nday , bulk import · raw
{
  "id": 28814,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/42024",
  "occurred_at": "2017-05-17T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "42024",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/42024",
    "file": "exploits/php/remote/42024.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "WordPress Plugin PHPMailer 4.6 - Host Header Command Injection (Metasploit)",
    "author": "Metasploit",
    "edb_id": 42024,
    "cve_ids": [
      "CVE-2016-10033"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2017-05-17",
    "date_updated": "2017-05-17",
    "date_published": "2017-05-17"
  }
}
2017-06-21date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHPMailer < 5.2.20 with Exim MTA - Remote Code Execution” (EDB-42221).

src exploitdb 42221 · nday , bulk import · raw
{
  "id": 37619,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/42221",
  "occurred_at": "2017-06-21T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "42221",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/42221",
    "file": "exploits/php/webapps/42221.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "PHPMailer < 5.2.20 with Exim MTA - Remote Code Execution",
    "author": "phackt_ul",
    "edb_id": 42221,
    "cve_ids": [
      "CVE-2016-10074",
      "CVE-2016-10045",
      "CVE-2016-10034",
      "CVE-2016-10033"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2017-06-21",
    "date_updated": "2017-08-03",
    "date_published": "2017-06-21"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.