CVE catalog

CVE-2016-10045

libphp-phpmailer: CVE-2016-10045

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianlibphp-phpmailersid7.1.1-1not affected
Debianlibphp-phpmailerforky7.1.1-1not affected
Debianlibphp-phpmailertrixie6.9.3-1not affected
Debianlibphp-phpmailerbookworm6.6.3-1not affected
Alpinephp-phpmailer3.25.2.4-r0fixed
Alpinephp-phpmailer3.35.2.4-r0fixed
Alpinephp5-phpmailer3.45.2.0-r1fixed
Alpinephp5-phpmailer3.55.2.4-r1fixed
Ubuntulibphp-phpmailerpro5.2.10+dfsg-1vulnerable
Ubuntulibphp-phpmailerpro5.2.14+dfsg-1vulnerable
Ubuntulibphp-phpmailerpro5.2.14+dfsg-1build1vulnerable
Ubuntulibphp-phpmailerpro5.2.14+dfsg-1ubuntu0.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibphp-phpmailersourcesidNot affectedunimportantNot reportedNot reported
Debianlibphp-phpmailersourceforkyNot affectedunimportantNot reportedNot reported
Debianlibphp-phpmailersourcetrixieNot affectedunimportantNot reportedNot reported
Debianlibphp-phpmailersourcebookwormNot affectedunimportantNot reportedNot reported
Alpinephp-phpmailerapk3.25.2.4-r0Not reportedALPINE-CVE-2016-10045Not reported
Alpinephp-phpmailerapk3.35.2.4-r0Not reportedALPINE-CVE-2016-10045Not reported
Alpinephp5-phpmailerapk3.45.2.0-r1Not reportedALPINE-CVE-2016-10045Not reported
Alpinephp5-phpmailerapk3.55.2.4-r1Not reportedALPINE-CVE-2016-10045Not reported
Ubuntulibphp-phpmailerdebpro5.2.14+dfsg-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2016-10045Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libphp-phpmailer]Not affected
    Details (2)
    • 6.6.3-1 · all · bookworm

      Not affected

      dsa · libphp-phpmailer · debian · bookworm

    • 6.6.3-1 · all · bookworm

      Not affected

      dsa · libphp-phpmailer · debian · bookworm

Observed:

References