Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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. This can result in the file type being misinterpreted by the receiver or any mail relay processing the message.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-13625
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:49 UTC · Revision 1

Source evidence

CVE-2020-13625

core-osv · Original source

Published 8 Jun 2020, 17:15 UTC

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.

osv:CVE-2020-13625
Complete source record
{
  "id": "c54bca22bd14f75738ba438002d41d98788f477deed78a9d9c8d7479a9ff212b",
  "url": "https://osv.dev/vulnerability/CVE-2020-13625",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-13625",
    "summary": "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.",
    "evidence": "osv:CVE-2020-13625",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-13625",
      "aliases": [
        "BIT-phpmailer-2020-13625",
        "CVE-2020-13625",
        "GHSA-f7hx-fqxw-rvvj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/phpmailer/phpmailer",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "6.1.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v6.1.6"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.1.5",
            "v6.1.4",
            "v6.1.3",
            "v6.1.2",
            "v6.1.1",
            "v6.1.0",
            "v6.0.7",
            "v5.2.9",
            "v5.2.8",
            "v5.2.7",
            "v5.2.6",
            "v5.2.5",
            "v5.2.4",
            "v5.2.2",
            "v5.2.1",
            "v5.2.0",
            "v2.2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13625.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:47.646780312Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX/",
        "https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6",
        "https://lists.debian.org/debian-lts-announce/2020/06/msg00014.html",
        "https://lists.debian.org/debian-lts-announce/2020/08/msg00004.html",
        "https://usn.ubuntu.com/4505-1/",
        "https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-f7hx-fqxw-rvvj"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  },
                  {
                    "introduced": "32"
                  },
                  {
                    "last_affected": "32"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-13625",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382951,
  "published_at": "2020-06-08T17:15:10.097+00:00"
}