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
-
debian.org
/security/2007/dsa-1315
vendor-advisory
-
secunia.com
/advisories/25626
third-party-advisory, vendor-advisory
-
securityfocus.com
/archive/1/471065/100/0/threaded
mailing-list
- sourceforge.net /project/shownotes.php?release_id=517428&group_id=157374
-
exchange.xforce.ibmcloud.com
/vulnerabilities/34818
vdb-entry, web
-
secunia.com
/advisories/25755
third-party-advisory
-
securityreason.com
/securityalert/2802
third-party-advisory
-
osvdb.org
/76139
vdb-entry
-
securityfocus.com
/bid/24417
vdb-entry
- sourceforge.net /tracker/index.php?func=detail&aid=1734811&group_id=26031&atid=385707
-
osvdb.org
/37206
vdb-entry
-
vupen.com
/english/advisories/2007/2267
vdb-entry
- larholm.com /2007/06/11/phpmailer-0day-remote-execution/
- yehg.net /lab/pr0js/advisories/%5BvTiger_5.2.1%5D_rce
-
secunia.com
/advisories/25758
third-party-advisory
-
vupen.com
/english/advisories/2007/2161
vdb-entry
-
seclists.org
/fulldisclosure/2011/Oct/223
mailing-list
-
github.com
/PHPMailer/PHPMailer/security/advisories/GHSA-6h78-85v2-mmch
web
-
cxsecurity.com
/issue/WLB-2007060063
web
-
github.com
/PHPMailer/PHPMailer
package
-
seclists.org
/fulldisclosure/2011/Oct/223
web
-
sourceforge.net
/p/phpmailer/bugs/192
web
-
web.archive.org
/web/20070714054359/http://larholm.com/2007/06/11/phpmailer-0day-remote-execution
web
-
yehg.net
/lab/pr0js/advisories/%5BvTiger_5.2.1%5D_rce
web
Sources
- CVE List CVE-2007-3215
- GitHub Advisory GHSA-6h78-85v2-mmch
- NVD CVE-2007-3215
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.