SCA: security update for phpmailer/phpmailer (GHSA-4pc3-96mx-wwc8)

critical Tenable Self-Hosted Container Security Plugin ID 422689

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2016-10045)

See Also

https://github.com/advisories/GHSA-4pc3-96mx-wwc8

Plugin Details

Severity: Critical

ID: 422689

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.6

Percentile: 98.67

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2016-10045

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/5/2020

Vulnerability Publication Date: 12/27/2016

Exploitable With

Metasploit (PHPMailer Sendmail Argument Injection)

Reference Information

CVE: CVE-2016-10045

BID: 95130

cwe: CWE-77