phpmailer_project CVE Vulnerabilities & Metrics

Focus on phpmailer_project vulnerabilities and metrics.

Last updated: 08 Mar 2025, 23:25 UTC

About phpmailer_project Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with phpmailer_project. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total phpmailer_project CVEs: 10
Earliest CVE date: 16 Dec 2015, 21:59 UTC
Latest CVE date: 17 Jun 2021, 12:15 UTC

Latest CVE reference: CVE-2021-3603

Rolling Stats

30-day Count (Rolling): 0
365-day Count (Rolling): 0

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): 0%
Year Variation (Calendar): 0%

Month Growth Rate (30-day Rolling): 0.0%
Year Growth Rate (365-day Rolling): 0.0%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical phpmailer_project CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 5.76

Max CVSS: 7.5

Critical CVEs (≥9): 0

CVSS Range vs. Count

Range Count
0.0-3.9 1
4.0-6.9 6
7.0-8.9 3
9.0-10.0 0

CVSS Distribution Chart

Top 5 Highest CVSS phpmailer_project CVEs

These are the five CVEs with the highest CVSS scores for phpmailer_project, sorted by severity first and recency.

All CVEs for phpmailer_project

CVE-2021-3603 phpmailer_project vulnerability CVSS: 6.8 17 Jun 2021, 12:15 UTC

PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such code is injected into the host project's scope by other means). If the $patternselect parameter to validateAddress() is set to 'php' (the default, defined by PHPMailer::$validator), and the global namespace contains a function called php, it will be called in preference to the built-in validator of the same name. Mitigated in PHPMailer 6.5.0 by denying the use of simple strings as validator function names.

CVE-2021-34551 phpmailer_project vulnerability CVSS: 5.1 16 Jun 2021, 18:15 UTC

PHPMailer before 6.5.0 on Windows allows remote code execution if lang_path is untrusted data and has a UNC pathname.

CVE-2020-36326 phpmailer_project vulnerability CVSS: 7.5 28 Apr 2021, 03:15 UTC

PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UNC pathname. NOTE: this is similar to CVE-2018-19296, but arose because 6.1.8 fixed a functionality problem in which UNC pathnames were always considered unreadable by PHPMailer, even in safe contexts. As an unintended side effect, this fix eliminated the code that blocked addAttachment exploitation.

CVE-2020-13625 phpmailer_project vulnerability CVSS: 5.0 08 Jun 2020, 17:15 UTC

PHPMailer before 6.1.6 contains an output escaping bug when the name of a file attachment contains a double quote character. This can result in the file type being misinterpreted by the receiver or any mail relay processing the message.

CVE-2018-19296 phpmailer_project vulnerability CVSS: 6.8 16 Nov 2018, 09:29 UTC

PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack.

CVE-2017-11503 phpmailer_project vulnerability CVSS: 4.3 20 Jul 2017, 23:29 UTC

PHPMailer 5.2.23 has XSS in the "From Email Address" and "To Email Address" fields of code_generator.php.

CVE-2017-5223 phpmailer_project vulnerability CVSS: 2.1 16 Jan 2017, 06:59 UTC

An issue was discovered in PHPMailer before 5.2.22. PHPMailer's msgHTML method applies transformations to an HTML document to make it usable as an email message body. One of the transformations is to convert relative image URLs into attachments using a script-provided base directory. If no base directory is provided, it resolves to /, meaning that relative image URLs get treated as absolute local file paths and added as attachments. To form a remote vulnerability, the msgHTML method must be called, passed an unfiltered, user-supplied HTML document, and must not set a base directory.

CVE-2016-10045 phpmailer_project vulnerability CVSS: 7.5 30 Dec 2016, 19:59 UTC

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.

CVE-2016-10033 phpmailer_project vulnerability CVSS: 7.5 30 Dec 2016, 19:59 UTC

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.

CVE-2015-8476 phpmailer_project vulnerability CVSS: 5.0 16 Dec 2015, 21:59 UTC

Multiple CRLF injection vulnerabilities in PHPMailer before 5.2.14 allow attackers to inject arbitrary SMTP commands via CRLF sequences in an (1) email address to the validateAddress function in class.phpmailer.php or (2) SMTP command to the sendCommand function in class.smtp.php, a different vulnerability than CVE-2012-0796.