CVE-2016-10045
WordPress · 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 execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 97.738% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T19:48:17.831Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 9.8 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T18:59:37.544Z
CVSS 2.0 · 7.5 · published by [email protected]AV:N/AC:L/Au:N/C:P/I:P/A:P
Assessment source · checked 2026-11-19T18:59:37.544Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T19:48:17.831Z | CISA KEV |
| cvss | verified | 2026-11-19T18:59:37.544Z | NVD |
| epss | verified | 2026-11-19T19:05:57.431Z | FIRST EPSS |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T19:04:08.470Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:04:08.470Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.exploit-db.com/exploits/42221/",
"name": "42221",
"tags": [
"exploit",
"x_refsource_EXPLOIT-DB",
"x_transferred"
]
},
{
"url": "https://www.exploit-db.com/exploits/40969/",
"name": "40969",
"tags": [
"exploit",
"x_refsource_EXPLOIT-DB",
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/archive/1/539967/100/0/threaded",
"name": "20161228 PHPMailer < 5.2.20 Remote Code Execution PoC 0day Exploit (CVE-2016-10045) (Bypass of the CVE-2016-1033 patch)",
"tags": [
"mailing-list",
"x_refsource_BUGTRAQ",
"x_transferred"
]
},
{
"url": "http://openwall.com/lists/oss-security/2016/12/28/1",
"name": "[oss-security] 20161228 Re: PHPMailer < 5.2.18 Remote Code Execution [updated advisory] [CVE-2016-10033]",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://www.exploit-db.com/exploits/40986/",
"name": "40986",
"tags": [
"exploit",
"x_refsource_EXPLOIT-DB",
"x_transferred"
]
},
{
"url": "http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/bid/95130",
"name": "95130",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
]
},
{
"url": "https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "http://seclists.org/fulldisclosure/2016/Dec/81",
"name": "20161227 PHPMailer < 5.2.20 Remote Code Execution PoC 0day Exploit (CVE-2016-10045) (Bypass of the CVE-2016-1033 patch)",
"tags": [
"mailing-list",
"x_refsource_FULLDISC",
"x_transferred"
]
},
{
"url": "http://www.securitytracker.com/id/1037533",
"name": "1037533",
"tags": [
"vdb-entry",
"x_refsource_SECTRACK",
"x_transferred"
]
},
{
"url": "https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-06T03:07:32.139Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "38795087-5630-4537-85D5-1859D1EE779E",
"versionEndExcluding": "5.2.20"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5C55F44C-4A71-4C47-9908-071A23D46939",
"versionEndIncluding": "4.7"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:joomla:joomla\\!:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0CD26A61-1228-43AC-AEAF-20BF83345F2D",
"versionEndIncluding": "3.6.5",
"versionStartIncluding": "1.5.0"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T19:48:17.831ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T19:05:57.431ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
5a5bcf2624320ba2de5bb1bd375fbd7e1763391b2ad659041f30b02e5066c670 - NVDConsulted: 2026-11-19T18:59:37.544ZArchived source JSON
Source publication: 2016-12-30T19:59:00.247Z
Source modification: 2026-06-17T00:38:57.007ZDocument fingerprint
90ee75091e28443fd4d909309fa15fd1e9ab302247d237196ec5d4b77a3b54ca - CVE ProgramConsulted: 2026-11-19T19:04:08.470ZArchived source JSON
Source publication: 2016-12-30T19:00:00.000Z
Source modification: 2024-08-06T03:07:32.139ZDocument fingerprint
63e8a330141d10619954ac9df5c949ebda5ef1afd44ee1d2c29c063a1272d08e
Official status history
- UNKNOWN → PUBLISHED · · evidence