CVE-2020-13625 in Canonical Ubuntu Linux and 3 more products
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.
Affects 4 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 18.04 |
| Debian | Debian Linux | 8.0 9.0 |
| Fedoraproject | Fedora | 31 32 |
| Phpmailer Project | Phpmailer | < 6.1.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-13625 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-184337-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2020-06-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-116: CWE-116
Related attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering via CWE-116
CAPEC-85 AJAX Footprinting via CWE-116
CAPEC-73 User-Controlled Filename via CWE-116
CAPEC-104 Cross Zone Scripting via CWE-116
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
PHPMailer versions prior to 6.1.6 are vulnerable to an output escaping bug that can lead to the misinterpretation of file types when attachments with double quotes in their names are processed.
An attacker can craft an email with an attachment that has a filename containing a double quote character. When this email is processed by PHPMailer, the output escaping bug can cause the file type to be misinterpreted, potentially leading to security issues such as MIME type confusion attacks.
Questions
What is CVE-2020-13625?
PHPMailer versions prior to 6.1.6 are vulnerable to an output escaping bug that can lead to the misinterpretation of file types when attachments with double quotes in their names are processed.
What is the CVSS score for CVE-2020-13625?
CVE-2020-13625 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 3.8%.
Is CVE-2020-13625 actively exploited?
No confirmed active exploitation of CVE-2020-13625 as of 2026-09-25.
How do I remediate CVE-2020-13625?
Priority: HIGH.
What systems are affected by CVE-2020-13625?
CVE-2020-13625 affects Canonical Ubuntu Linux; Debian Debian Linux; Fedoraproject Fedora; Phpmailer Project Phpmailer.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.