ADVISORIES

Vulnerability

CVE-2016-10045

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.

4 advisories report this vulnerability, across 3 ecosystems.

Critical severity All Ubuntu 2Alpine 1Packagist 1

Advisories

  • ALPINE-CVE-2016-10045

    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…

    CVE-2016-10045 Alpine Updated 22 September 2026
  • GHSA-4pc3-96mx-wwc8

    Remote code execution in PHPMailer

    Critical CVE-2016-10045 Packagist Updated 14 April 2025
  • UBUNTU-CVE-2016-10045

    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…

    CVE-2016-10045 Ubuntu Updated 4 February 2026
  • USN-5956-1

    libphp-phpmailer vulnerabilities

    Known exploited CVE-2016-10033CVE-2016-10045CVE-2017-11503CVE-2017-5223 Ubuntu Updated 25 June 2026

References