LiveActive security incident?Get immediate response
CVE Record

CVE-2020-36326: PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

PHPMailer versions 6.1.8 through 6.4.0 could mishandle certain network-style attachment paths. If an application lets untrusted input influence attachment paths, this may allow unsafe object deserialization. The public record does not provide a CVSS score or confirm active exploitation.

Executive priority

Prioritize discovery and upgrade where PHPMailer handles externally influenced attachments. Business urgency is higher for public-facing forms, ticketing systems, or upload workflows that send email with attachments.

Technical view

The issue is described as object injection through Phar deserialization when PHPMailer addAttachment processes a UNC pathname. The CVE notes this resembles CVE-2018-19296 and resulted from a 6.1.8 UNC-path readability change that removed prior blocking behavior.

Likely exposure

Exposure is most likely in PHP applications using PHPMailer 6.1.8 through 6.4.0 where users or external data can affect addAttachment path values. The source bundle provides no CPEs and no complete product inventory.

Exploitation context

The sources describe the vulnerable condition but do not cite public exploitation, weaponized exploit availability, or KEV listing. Treat exploitation evidence as unconfirmed unless your telemetry or vendor advisories show otherwise.

Researcher notes

Evidence is limited to the CVE description, upstream commit reference, and Fedora advisories. No CVSS, CWE, CPE, or KEV signal is supplied. Validate actual reachability before assuming exploitable impact.

Mitigation direction

  • Identify PHPMailer versions used directly or through dependencies.
  • Move off PHPMailer 6.1.8 through 6.4.0 using vendor guidance.
  • Review Fedora package advisories if using Fedora-packaged PHPMailer.
  • Restrict untrusted input from controlling attachment file paths.
  • Check PHPMailer upstream notes before choosing a target version.

Validation and detection

  • Inventory composer.lock and deployed PHP vendor directories for PHPMailer versions.
  • Review code paths calling addAttachment for user-controlled path input.
  • Check logs for unexpected UNC-style attachment paths reaching mail-sending code.
  • Confirm remediation by verifying PHPMailer is outside 6.1.8 through 6.4.0.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2020-36326 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.