Live threats

All CVEs / Phpmailer Project

CVE-2020-13625Phpmailer Project Phpmailer

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.8%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Jun 8, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-116
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

PHPMailer before 6.1.6 contains an output escaping bug when the name of a file attachment contains a double quote character. This can result in the file type being misinterpreted by the receiver or any mail relay processing the message.

Original NVD text.

What to do

  1. Apply the vendor's security update for Phpmailer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist phpmailer/phpmailer < 6.1.6 6.1.6 composer require "phpmailer/phpmailer:^6.1.6"

Per OSV / GitHub Advisories (GHSA-f7hx-fqxw-rvvj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
phpmailer_projectphpmailer< 6.1.6
fedoraprojectfedora31
fedoraprojectfedora32
canonicalubuntu_linux18.04
debiandebian_linux8.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.