CVE-2018-19296
HIGH 8.8CVSS 3.1Phar object injection in PHPMailer
PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack.
- Published
- 16 Nov 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1321CWE-502CWE-915
- Also known as
- GHSA-7w4p-72j7-v7c2
- Sources
- NVDJSONOSV GHSA-7w4p-72j7-v7c2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | phpmailer_project | phpmailercpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:* |
< 5.2.27 | 5.2.27 |
| NVD | phpmailer_project | phpmailercpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.0.6 | 6.0.6 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | wordpress | wordpresscpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* |
>= 3.7, <= 5.7 | |
| OSV | Packagist | phpmailer/phpmailer | >= 5.0.0, < 5.2.27 | 5.2.27 |
| OSV | Packagist | phpmailer/phpmailer | >= 6.0.0, < 6.0.6 | 6.0.6 |
References
- https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.27 · Release Notes, Vendor Advisory, WEB
- https://github.com/PHPMailer/PHPMailer/releases/tag/v6.0.6 · Release Notes, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2018/12/msg00020.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/ · WEB
- https://www.debian.org/security/2018/dsa-4351 · Third Party Advisory, WEB
- https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-7w4p-72j7-v7c2 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-19296 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2018-19296.yaml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 16 Nov 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 Mar 2020)