CVE-2018-19296 json
Phar object injection in PHPMailer
published 2018-11-16 7 y ago modified 2026-06-17 4 mo ago also GHSA-7w4p-72j7-v7c2 , EUVD-2020-0340
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack.
Patch / fix
- packagist phpmailer/phpmailer 5.2.27, 6.0.6
- phpmailer_project phpmailer 5.2.27, 6.0.6
- libphp-phpmailer Debian 14, Debian 13, Debian 12 5.2.14+dfsg-2.4
debian advisories DEBIAN-CVE-2018-19296
- libphp-phpmailer Ubuntu 18.04 LTS 5.2.14+dfsg-2.3+deb9u1build0.18.04.1
- libphp-phpmailer Ubuntu Pro 16.04 LTS 5.2.14+dfsg-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2018-19296
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Exploit prediction
2.23% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | phpmailer/phpmailer | >=5.0.0, <5.2.27 >=6.0.0, <6.0.6 |
5.2.27 6.0.6 |
Classification
References
-
debian.org
/security/2018/dsa-4351
vendor-advisory, web, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/
vendor-advisory
-
github.com
/PHPMailer/PHPMailer/releases/tag/v5.2.27
web, release-notes, vendor-advisory
-
github.com
/PHPMailer/PHPMailer/releases/tag/v6.0.6
web, release-notes, vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/12/msg00020.html
mailing-list, web, third-party-advisory
-
github.com
/PHPMailer/PHPMailer/security/advisories/GHSA-7w4p-72j7-v7c2
web
-
nvd.nist.gov
/vuln/detail/CVE-2018-19296
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2018-19296.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT
web
Sources
- CVE List CVE-2018-19296
- GitHub Advisory GHSA-7w4p-72j7-v7c2
- NVD CVE-2018-19296
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.