CVEMETERBack to radar
OFFICIAL RECORD · WordPress

CVE-2016-10045

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 9.8 · critical

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

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T19:48:17.831ZCISA KEV
cvssverified2026-11-19T18:59:37.544ZNVD
epssverified2026-11-19T19:05:57.431ZFIRST EPSS
patchesunknownunknownunknown
affectedverified2026-11-19T19:04:08.470ZCVE Program
lifecycleverified2026-11-19T19:04:08.470ZCVE 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 JSON
NVD · 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 JSON

Correction 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

Official status history