Skip to content
Fencer Vulns
medium 6.8

CVE-2007-3215 json

PHPMailer Shell command injection

published 2007-06-14 19 y ago modified 2026-06-16 4 mo ago also GHSA-6h78-85v2-mmch , EUVD-2024-0536

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.4%
EPSS 2.4% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

PHPMailer 1.7, when configured to use sendmail, allows remote attackers to execute arbitrary shell commands via shell metacharacters in the SendmailSend function in class.phpmailer.php.

Patch / fix

  • packagist phpmailer/phpmailer 1.7.4
  • wordpress Debian 14, Debian 13, Debian 12 2.2.1-1
  • libphp-phpmailer Debian 14, Debian 13, Debian 12 1.73-4

debian advisories DEBIAN-CVE-2007-3215

Exploit prediction

2.41% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected packages

ecosystem package affected fixed in
packagist phpmailer/phpmailer
<1.7.4
1.7.4

References

Sources

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.