CVE-2016-10033
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceCommand injection vulnerability in PHPMailer before 5.2.18 allows remote attackers to execute arbitrary code by injecting additional parameters into the mail() function through a backslash double quote in the Sender property, bypassing intended parameter sanitization.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data<= 4.7>= 1.5.0, <= 3.6.5< 5.2.18CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate PHPMailer library versionFind the class.phpmailer.php file in your application (check vendor directories, wp-includes for WordPress, libraries/src/Mail for Joomla, or vendor/phpmailer for standalone). Open the file and look for a version constant or check the file header comment for version information.Affected if The version is below 5.2.18 (e.g., 5.2.17 or earlier)
-
Confirm the isMail transport is in useSearch your codebase for PHPMailer initialization that uses the 'isMail' property or the mail() function. In WordPress, this is the default transport used by wp_mail(). In Joomla, check configuration for mail settings. Look for code setting $mailer->isMail() or confirm the mail system is set to PHP mail.Affected if The application uses the default PHP mail() function transport (isMail) rather than SMTP
-
Check WordPress bundled PHPMailer versionIf running WordPress, locate wp-includes/class-phpmailer.php and check the version number in the file header or version constant. WordPress 4.7 and earlier shipped with vulnerable PHPMailer versions.Affected if WordPress version is 4.7 or lower and the bundled class-phpmailer.php shows a version below 5.2.18
-
Check Joomla bundled PHPMailer versionIf running Joomla, locate libraries/src/Mail/Mail.php or libraries/phpmailer/phpmailer.php and check the PHPMailer version it loads. Joomla bundles PHPMailer in its libraries folder.Affected if Joomla version is between 1.5.0 and 3.6.5 inclusive, and the bundled PHPMailer is below 5.2.18
You are affected if your application uses PHPMailer version below 5.2.18 with the default PHP mail() transport (isMail), which is the default for WordPress <= 4.7 and Joomla <= 3.6.5.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped5.2.18
Upgrade PHPMailer to version 5.2.18 or later which contains the fix. If immediate upgrade is not feasible, validate and sanitize all user-supplied email properties before passing them to PHPMailer.
PHPMailer 5.2.18 or later
- Identify the PHPMailer version in use by examining the codebase or vendor dependencies
- For direct PHPMailer installations: download and install PHPMailer version 5.2.18 or later from the official GitHub repository
- For WordPress: upgrade to WordPress 4.7.1 or later which includes the patched PHPMailer library
- For Joomla: upgrade to Joomla 3.6.6 or later which includes the patched PHPMailer library
- After upgrading, verify the Sender property input is properly validated and escaped before being passed to the mail() function
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,168.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2016-10033 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- seclists.org
- packetstormsecurity.com
- seclists.org
- github.com
- github.com
- legalhackers.com
- www.exploit-db.com
- www.exploit-db.com
- packetstormsecurity.com
- packetstormsecurity.com
- www.rapid7.com
- www.securityfocus.com
- www.securityfocus.com
- www.securitytracker.com
- developer.joomla.org
- www.drupal.org
- www.exploit-db.com
- www.exploit-db.com
- www.exploit-db.com
- www.exploit-db.com
- www.exploit-db.com
- www.exploit-db.com
- www.exploit-db.com
- www.cisa.gov
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2016-10033 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data