Cloudanix VulnDB

CVE-2016-10045

Critical · 9.8

CVSS

9.8

EPSS

97.7%

Published

Dec 30, 2016

CISA due date

—

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
Packagist phpmailer/phpmailer 5.0.0 5.2.20
Alpine:v3.2 php-phpmailer 0 5.2.4-r0
Alpine:v3.3 php-phpmailer 0 5.2.4-r0
Alpine:v3.4 php5-phpmailer 0 5.2.0-r1
Alpine:v3.5 php5-phpmailer 0 5.2.4-r1
Ubuntu:Pro:16.04:LTS libphp-phpmailer 0 5.2.14+dfsg-1ubuntu0.1~esm1
Ubuntu:Pro:18.04:LTS libphp-phpmailer 0 5.2.14+dfsg-2.3+deb9u2ubuntu0.1~esm1
Ubuntu:Pro:20.04:LTS libphp-phpmailer 0 6.0.6-0.1ubuntu0.1~esm1
Ubuntu:Pro:22.04:LTS libphp-phpmailer 0 6.2.0-2ubuntu0.1~esm1
packagist phpmailer/phpmailer 5.0.0 5.2.20
packagist phpmailer/phpmailer 5.2.18 No fix
packagist phpmailer/phpmailer 5.2.19 No fix

Related vulnerabilities