Vulnerability Database · Packagist · Package report

phpmailer/phpmailer: vulnerability history, versions and safety

phpmailer/phpmailer is a package in the Packagist ecosystem. Vulert records 14 vulnerabilities for it across 52 releases, from Mar 2020 to Feb 2024. Each vulnerability names the versions it affects, the fixed version to move to, and a workaround where no fix has been published.

i
14 vulnerabilities recorded C3 H7 M3 L1
i
0 with no fix published

Every vulnerability has a patched version to move to.

i
0 in the last 12 months

Nothing new recorded in the last year.

See the disclosure history →
i
0 malicious-package vulnerabilities

No published version shipped hostile code.

Vulert verdict on phpmailer/phpmailer i

Updated on 23 Oct 2026

Every vulnerability Vulert records for this package has a fix, and the newest was recorded 02 Feb 2024. Apply the fixes listed below and you are clear.

Long-term outlook: usable, with an upgrade 14 vulnerabilities on record across 3 years, none in the last year.

What to do: Move the affected dependencies to the fixed versions listed below, then keep the package monitored so the next vulnerability reaches you. Fix it, then keep watch: Vulert alerts you when a new vulnerability affects the version you run. Monitor it with Vulert →

  • Vulnerabilities on record 14 over 3 years · 0 in the last year i
  • Latest disclosure 02 Feb 2024 i
  • Highest CVSS 9.8 i
  • With no published fix 0 i

Concerned about your application's security?

Vulert continues monitoring your dependencies and alerts you when new vulnerabilities are disclosed. No installation and no source-code access required.

01 Versions

Which versions are affected

Every version Vulert holds for phpmailer/phpmailer, newest first, with the vulnerabilities that name it. A version with a count of zero has no recorded vulnerabilities; open a version to see the vulnerabilities it is exposed to.

i
Version Vulert vulnerabilities Fix published Details
v6.4.1 H2 Yes Details →
v6.4.0 C1 H2 Yes Details →
v6.3.0 C1 H2 Yes Details →
v6.2.0 C1 H2 Yes Details →
v6.1.8 C1 H2 Yes Details →
v6.1.7 H2 Yes Details →
v6.1.6 H2 Yes Details →
v6.1.5 H3 Yes Details →
v6.1.4 H3 Yes Details →
v6.1.3 H3 Yes Details →
v6.1.2 H3 Yes Details →
v6.1.1 H3 Yes Details →
v6.1.0 H3 Yes Details →
v6.0.7 H3 Yes Details →
v6.0.6 H3 Yes Details →
v6.0.5 H3 Yes Details →
v6.0.4 H3 Yes Details →
v6.0.3 H3 Yes Details →
v6.0.2 H3 Yes Details →
v6.0.1 H3 Yes Details →
v6.0.0 H3 Yes Details →
v6.0.0rc5 H3 Yes Details →
v6.0.0rc4 H3 Yes Details →
v6.0.0rc3 H3 Yes Details →
v6.0.0rc2 H3 Yes Details →
v6.0.0rc1 H3 Yes Details →
v5.2.28 H3 Yes Details →
v5.2.27 H3 Yes Details →
v5.2.26 H4 Yes Details →
v5.2.25 H4 Yes Details →
v5.2.24 H4 Yes Details →
v5.2.23 H4 M1 Yes Details →
v5.2.22 H4 M1 Yes Details →
v5.2.21 H4 M2 Yes Details →
v5.2.20 H4 M2 Yes Details →
v5.2.19 C1 H4 M2 Yes Details →
v5.2.18 C1 H4 M2 Yes Details →
v5.2.17 C2 H4 M2 Yes Details →
v5.2.16 C2 H4 M2 Yes Details →
v5.2.15 C2 H4 M2 Yes Details →
v5.2.14 C2 H4 M2 Yes Details →
v5.2.13 C2 H4 M2 L1 Yes Details →
v5.2.12 C2 H4 M2 L1 Yes Details →
v5.2.11 C2 H4 M2 L1 Yes Details →
v5.2.10 C2 H4 M2 L1 Yes Details →
v5.2.9 C2 H5 M2 L1 Yes Details →
v5.2.8 C2 H5 M2 L1 Yes Details →
v5.2.7 C2 H5 M2 L1 Yes Details →
v5.2.6 C2 H5 M2 L1 Yes Details →
v5.2.5 C2 H5 M2 L1 Yes Details →
v5.2.4 C2 H5 M2 L1 Yes Details →
v5.2.2 C2 H5 M2 L1 Yes Details →

Newest 52 of 52 versions on record. Severity counts are the vulnerabilities recorded against that exact release.

02 Disclosure history

How often vulnerabilities are recorded

  • 2020 7
  • 2021 3
  • 2022 2
  • 2024 2

Counted by the year Vulert recorded each vulnerability — the same date the table below shows as disclosed. 0 of the 14 were recorded in the last 12 months.

03 Vulnerabilities

Recorded vulnerabilities for phpmailer/phpmailer

The 5 most severe of 14 vulnerabilities recorded for this package

Search all 14 in the database →

Vulnerability wrong, a fix missing, or a package we should cover? Report it and we will fix the record. Report Vulnerability Provide Feedback

Updated: 23/Oct/2026 · Vulnerabilities in our DB: 524315

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →

Questions

About phpmailer/phpmailer

Is phpmailer/phpmailer safe to use?

Vulert records 14 vulnerabilities for phpmailer/phpmailer in Packagist: 3 critical, 7 high, 3 medium and 1 low. Every one of them has a published fix, so the practical answer is to run a supported release and keep it patched.

How many vulnerabilities does phpmailer/phpmailer have?

14 vulnerabilities are recorded for phpmailer/phpmailer in the Packagist ecosystem: 3 critical, 7 high, 3 medium and 1 low. The ledger on this page lists the same counts next to the date of the most recent disclosure.

How often are new phpmailer/phpmailer vulnerabilities disclosed?

0 vulnerabilities were recorded for phpmailer/phpmailer in the last 12 months, and the oldest entry in this database dates to 05 Mar 2020. Recency matters more than a lifetime total: it shows how actively new issues are being disclosed for the package you are considering.

Which versions of phpmailer/phpmailer are affected?

Each vulnerability on this page lists the affected version range and the fixed version to move to. Open the vulnerability for the version you actually run — fixes are specific to a release line, not to the package as a whole.

How do I monitor phpmailer/phpmailer for upcoming vulnerabilities?

Upload the manifest or SBOM for your application at vulert.com/scanner and Vulert keeps checking the phpmailer/phpmailer version you actually run against new disclosures, then alerts you when one affects it. There is no installation and no source-code access required.