CVE-2020-13625Phpmailer Project Phpmailer
High 7.5 No auth needed
Follow: this CVE · Phpmailer Project · Phpmailer Project Phpmailer We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Phpmailer.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| phpmailer_project | phpmailer | < 6.1.6 |
| fedoraproject | fedora | 31 |
| fedoraproject | fedora | 32 |
| canonical | ubuntu_linux | 18.04 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Broken Link
- lists.opensuse.org Broken Link
- github.com Release Notes Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- usn.ubuntu.com Third Party Advisory