Skip to content
Fencer Intel
high 8.8

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-09).

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

Weakness
  • CWE-502 Deserialization of Untrusted Data
  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
Technology feeds

References

Sources

Fencer Intel 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.