Security Resilience

CVE-2016-10033

Phpmailer Project Phpmailer ≤ 5.2.18

CISA KEVActive ExploitationEUVD ExploitedPublic PoC
Published
30 December 2016
Modified
21 April 2026
KEV Added
07 July 2025
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.99 100.0th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2016-10033 is a critical-severity Argument Injection (CWE-88) vulnerability in Phpmailer Project Phpmailer. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 0.0% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

The vulnerability CVE-2016-10033 is present in the mailSend function of the isMail transport in PHPMailer versions before 5.2.18. It arises from insufficient neutralization of the Sender property, allowing a backslash double quote sequence to inject additional arguments into the mail command and is tracked as CWE-88 with a CVSS 3.1 score of 9.8.

Unauthenticated remote attackers can supply a crafted Sender value when an application uses the vulnerable PHPMailer instance to send mail. This permits arbitrary parameters to be passed to the mail binary, enabling execution of attacker-controlled commands on the underlying system.

Public exploit code and Metasploit modules demonstrating the injection are referenced in disclosures on PacketStorm, Seclists full-disclosure, and Rapid7, confirming that the issue is remotely exploitable in default configurations without requiring user interaction.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)
KEV Date Added
07 July 2025

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1083 File and Directory Discovery Discovery
Adversaries may enumerate files and directories or may search in specific locations of a host or network share for certain information within a file system.
T1105 Ingress Tool Transfer Command And Control
Adversaries may transfer tools or other files from an external system into a compromised environment.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1548 Abuse Elevation Control Mechanism Privilege Escalation
Adversaries may circumvent mechanisms designed to control privilege elevation to gain higher-level permissions.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2016-10045Same product: Phpmailer Project Phpmailer
CVE-2026-24061Shared CWE-88both on KEV
CVE-2024-41710Shared CWE-88both on KEV
CVE-2026-86060Shared CWE-88both on KEV
CVE-2026-119977Shared T1068, T1190both on KEV
CVE-2026-87902Shared T1190, T1210both on KEV
CVE-2026-60137Shared T1068, T1190both on KEV
CVE-2026-63030Related weaknessboth on KEV
CVE-2023-23752Related weaknessboth on KEV
CVE-2025-61731Shared CWE-88

Affected Assets

phpmailer project
phpmailer
≤ 5.2.18
wordpress
wordpress
≤ 4.7
joomla
joomla\!
1.5.0 — 3.6.5

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.2.5

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require proper input validation and command construction to prevent argument injection.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect argument injection but does not prevent it at the source.

prevents

Training developers about secure command construction and argument handling reduces argument injection instances, but the practice is fallible and most such flaws still slip through, matching the same partial rung A.6.3 and A.8.28 hold on other developer-introduced injection flaws.

prevents

Secure coding standards explicitly require proper neutralization of command arguments, directly eliminating CWE-88.

prevents

A.8.30 carries its effect through the secure-development practices (8.25-8.29) its contract requires of the supplier, and argument injection is an ordinary software implementation weakness those practices address; the clause sits at its declared ceiling of `partial` because the underlying practices are fallible and the clause depends on them being implemented by the supplier.

finds

A.8.8's reach is DISCLOSURE — it identifies vulnerabilities through published advisories, vendor notifications, and scanning against known CVE feeds. CWE-88 does surface as CVEs in third-party components (PHPMailer, browsers, mail clients, etc., per the observed examples), so a minority of instances are findable. The bulk of argument injection lives in custom first-party code with no published advisory, which A.8.8's disclosure-based programme does not reach — same scope seam as A.8.8 -> CWE-89.

References