SCA: security update for phpmailer/phpmailer (GHSA-m298-fh5c-jc66)

critical Tenable Self-Hosted Container Security Plugin ID 416652

Description

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

- PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with
a UNC pathname. NOTE: this is similar to CVE-2018-19296, but arose because 6.1.8 fixed a functionality
problem in which UNC pathnames were always considered unreadable by PHPMailer, even in safe contexts. As
an unintended side effect, this fix eliminated the code that blocked addAttachment exploitation.
(CVE-2020-36326)

Solution

Update the phpmailer/phpmailer library and its related packages to version 6.4.1 or later.

See Also

https://github.com/advisories/GHSA-m298-fh5c-jc66

Plugin Details

Severity: Critical

ID: 416652

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/1/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 97.02

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2020-36326

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/4/2021

Vulnerability Publication Date: 4/28/2021

Reference Information

CVE: CVE-2020-36326