Read the docs
TI-2021-13570 Aliases CVE-2021-34551GHSA-7q44-r25x-wm4q

PHPMailer before 6.5.0 on Windows allows remote code execution if lang_path is untrusted data and has a UNC pathname.

Priority MEDIUM 40CWE-434Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-434.

Summary

PHPMailer before 6.5.0 on Windows allows remote code execution if lang_path is untrusted data and has a UNC pathname.

Why it matters now

EPSS 0.02803 86th percentileScored 2026-11-07
Fix Fixed phpmailer/phpmailer (Packagist): 6.5.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—phpmailer/phpmailer (Packagist)before 6.5.06.5.0Patch availableGHSA-7q44-r25x-wm4q
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • phpmailer/phpmailer (Packagist) Vendor— Affected before 6.5.0 Fixed in 6.5.0 Patch available GHSA-7q44-r25x-wm4q

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*before 6.5.0VulnerablePhpmailer Project
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*not specified by NVDRunning onMicrosoft
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*33VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
  • cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:* Versions before 6.5.0 Vulnerable ·Phpmailer Project
  • cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Microsoft
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject

Remediation

  • Fix · GHSA-7q44-r25x-wm4q phpmailer/phpmailer (Packagist) Fixed in 6.5.0 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-34551
  2. 2026-10-03 Alias added: GHSA-7q44-r25x-wm4q

References

Sources