CVE-2020-13625: PHPMailer before 6.1.6 contains an output escaping bug when the name of a file attachment contains a double quote character.
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.7% (FIRST EPSS); higher than 90.1% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: cacti (Alpine:v3.13) 1.2.13-r0; libphp-phpmailer (Debian:12) 6.1.6-1; libphp-phpmailer (Debian:8) 5.2.9+dfsg-2+deb8u6.
Low priority for now. Upgrade to cacti (Alpine:v3.13) 1.2.13-r0; libphp-phpmailer (Debian:12) 6.1.6-1; libphp-phpmailer (Debian:8) 5.2.9+dfsg-2+deb8u6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jun 8, 2020
- Updated
- Jun 16, 2026
- EPSS
- 3.7% · 90th percentile
- CWE
- CWE-116
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| phpmailer project | phpmailer | cpe:2.3:a:phpmailer_project:phpmailer |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux18.04
- debian debian linux8.0
- debian debian linux9.0
- fedoraproject fedora31
- fedoraproject fedora32
- phpmailer project phpmailerbefore 6.1.6
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.13 | cacti | before 1.2.13-r0 | 1.2.13-r0 |
| Debian:12 | libphp-phpmailer | before 6.1.6-1 | 6.1.6-1 |
| Debian:8 | libphp-phpmailer | before 5.2.9+dfsg-2+deb8u6 | 5.2.9+dfsg-2+deb8u6 |
| Debian:9 | libphp-phpmailer | before 5.2.14+dfsg-2.3+deb9u2 | 5.2.14+dfsg-2.3+deb9u2 |
| openSUSE:Leap 15.1 | cacti | before 1.2.13-11.1 | 1.2.13-11.1 |
| openSUSE:Leap 15.1 | cacti-spine | before 1.2.13-8.1 | 1.2.13-8.1 |
| Packagist | phpmailer/phpmailer | before 6.1.6 | 6.1.6 |
| SUSE:Package Hub 12 | cacti | before 1.2.13-11.1 | 1.2.13-11.1 |
| SUSE:Package Hub 12 | cacti-spine | before 1.2.13-8.1 | 1.2.13-8.1 |
| SUSE:Package Hub 15 SP1 | cacti | before 1.2.13-bp151.4.12.1 | 1.2.13-bp151.4.12.1 |
| SUSE:Package Hub 15 SP1 | cacti-spine | before 1.2.13-bp151.4.12.1 | 1.2.13-bp151.4.12.1 |
Same product
phpmailer project: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-10033The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail…KEV99Now
- CVE-2016-10045The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently…68This week
- CVE-2020-36326PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UNC pathname.40Plan
Published before and after this one in the same product
- ← EarlierCVE-2017-11503Jul 20, 2017 · PHPMailer 5.2.23 has XSS in the "From Email Address" and "To Email Address" fields of code_generator.php.25Monitor
- ← EarlierCVE-2018-19296Nov 16, 2018 · PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack.36Monitor
- Later →CVE-2021-34551Jun 16, 2021 · PHPMailer before 6.5.0 on Windows allows remote code execution if lang_path is untrusted data and has a UNC pathname.33Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:cacti | 1.2.13-r0 · Alpine:v3.13 | Package registry (OSV) |
| debian:libphp-phpmailer | 6.1.6-1 · Debian:12 | Package registry (OSV) |
| opensuse:cacti | 1.2.13-11.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:cacti-spine | 1.2.13-8.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| Packagist:phpmailer/phpmailer | 6.1.6 | Package registry (OSV) |
| suse:cacti | 1.2.13-11.1 · SUSE:Package Hub 12 | Package registry (OSV) |
| suse:cacti-spine | 1.2.13-8.1 · SUSE:Package Hub 12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-116 · Improper Encoding or Escaping of OutputCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html
- github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6
- lists.debian.org/debian-lts-announce/2020/06/msg00014.html
- lists.debian.org/debian-lts-announce/2020/08/msg00004.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX/
- usn.ubuntu.com/4505-1/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.