CVE-2018-19296Phpmailer Project Phpmailer
High 8.8 No auth needed
Follow: this CVE · Phpmailer Project · Phpmailer Project Phpmailer We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Nov 16, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack.
What to do
- Apply the vendor's security update for Phpmailer.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | phpmailer/phpmailer |
≥ 5.0.0 < 5.2.27 |
5.2.27 |
composer require "phpmailer/phpmailer:^5.2.27" |
| Packagist | phpmailer/phpmailer |
≥ 6.0.0 < 6.0.6 |
6.0.6 |
composer require "phpmailer/phpmailer:^6.0.6" |
Per OSV / GitHub Advisories (GHSA-7w4p-72j7-v7c2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| phpmailer_project | phpmailer | < 5.2.27 |
| phpmailer_project | phpmailer | ≥ 6.0.0 < 6.0.6 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
| wordpress | wordpress | ≥ 3.7 ≤ 5.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Vendor Advisory
- github.com Release Notes Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.debian.org Third Party Advisory