
CVE catalog
CVE-2016-10045
libphp-phpmailer: CVE-2016-10045
- Severity
- Low
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 97.74% · Oct 22, 2026
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libphp-phpmailer | sid | 7.1.1-1 | not affected |
| Debian | libphp-phpmailer | forky | 7.1.1-1 | not affected |
| Debian | libphp-phpmailer | trixie | 6.9.3-1 | not affected |
| Debian | libphp-phpmailer | bookworm | 6.6.3-1 | not affected |
| Alpine | php-phpmailer | 3.2 | 5.2.4-r0 | fixed |
| Alpine | php-phpmailer | 3.3 | 5.2.4-r0 | fixed |
| Alpine | php5-phpmailer | 3.4 | 5.2.0-r1 | fixed |
| Alpine | php5-phpmailer | 3.5 | 5.2.4-r1 | fixed |
| Ubuntu | libphp-phpmailer | pro | 5.2.10+dfsg-1 | vulnerable |
| Ubuntu | libphp-phpmailer | pro | 5.2.14+dfsg-1 | vulnerable |
| Ubuntu | libphp-phpmailer | pro | 5.2.14+dfsg-1build1 | vulnerable |
| Ubuntu | libphp-phpmailer | pro | 5.2.14+dfsg-1ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libphp-phpmailer | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | libphp-phpmailer | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | libphp-phpmailer | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | libphp-phpmailer | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Alpine | php-phpmailer | apk | 3.2 | 5.2.4-r0 | Not reported | ALPINE-CVE-2016-10045 | Not reported |
| Alpine | php-phpmailer | apk | 3.3 | 5.2.4-r0 | Not reported | ALPINE-CVE-2016-10045 | Not reported |
| Alpine | php5-phpmailer | apk | 3.4 | 5.2.0-r1 | Not reported | ALPINE-CVE-2016-10045 | Not reported |
| Alpine | php5-phpmailer | apk | 3.5 | 5.2.4-r1 | Not reported | ALPINE-CVE-2016-10045 | Not reported |
| Ubuntu | libphp-phpmailer | deb | pro | 5.2.14+dfsg-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2016-10045 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libphp-phpmailer]Not affected
Details (2)
6.6.3-1· all · bookwormNot affected
dsa · libphp-phpmailer · debian · bookworm
6.6.3-1· all · bookwormNot affected
dsa · libphp-phpmailer · debian · bookworm
Observed: