Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/928218?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/928218?format=api", "purl": "pkg:deb/debian/libphp-phpmailer@6.1.6-1?distro=trixie", "type": "deb", "namespace": "debian", "name": "libphp-phpmailer", "version": "6.1.6-1", "qualifiers": { "distro": "trixie" }, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "6.6.3-1", "latest_non_vulnerable_version": "6.9.3-1", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/33992?format=api", "vulnerability_id": "VCID-16kp-5zpw-fbha", "summary": "Insufficient output escaping of attachment names in PHPMailer\n### Impact\nCWE-116: Incorrect output escaping.\n\nAn attachment added like this (note the double quote within the attachment name, which is entirely valid):\n\n $mail->addAttachment('/tmp/attachment.tmp', 'filename.html\";.jpg');\n\nWill result in a message containing these headers:\n\n Content-Type: application/octet-stream; name=\"filename.html\";.jpg\"\n Content-Disposition: attachment; filename=\"filename.html\";.jpg\"\n\nThe attachment will be named `filename.html`, and the trailing `\";.jpg\"` will be ignored. Mail filters that reject `.html` attachments but permit `.jpg` attachments may be fooled by this.\n\nNote that the MIME type itself is obtained automatically from the *source filename* (in this case `attachment.tmp`, which maps to a generic `application/octet-stream` type), and not the *name* given to the attachment (though these are the same if a separate name is not provided), though it can be set explicitly in other parameters to attachment methods.\n\n### Patches\nPatched in PHPMailer 6.1.6 by escaping double quotes within the name using a backslash, as per RFC822 section 3.4.1, resulting in correctly escaped headers like this:\n\n Content-Type: application/octet-stream; name=\"filename.html\\\";.jpg\"\n Content-Disposition: attachment; filename=\"filename.html\\\";.jpg\"\n\n### Workarounds\nReject or filter names and filenames containing double quote (`\"`) characters before passing them to attachment functions such as `addAttachment()`.\n\n### References\n[CVE-2020-13625](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-13625).\n[PHPMailer 6.1.6 release](https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the PHPMailer repo](https://github.com/PHPMailer/PHPMailer/issues)", "references": [ { "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html" }, { "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-13625", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.89187", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.89189", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.89193", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.89183", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.89178", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.8916", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.89158", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.89142", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.89135", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.89212", "published_at": "2026-04-24T12:55:00Z" }, { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.89199", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.04546", "scoring_system": "epss", "scoring_elements": "0.89195", "published_at": "2026-04-21T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-13625" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13625", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13625" }, { "reference_url": "https://github.com/PHPMailer/PHPMailer", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPMailer/PHPMailer" }, { "reference_url": "https://github.com/PHPMailer/PHPMailer/commit/c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPMailer/PHPMailer/commit/c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3" }, { "reference_url": "https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6" }, { "reference_url": "https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-f7hx-fqxw-rvvj", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-f7hx-fqxw-rvvj" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2020/06/msg00014.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://lists.debian.org/debian-lts-announce/2020/06/msg00014.html" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00004.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00004.html" }, { "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ" }, { "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ/" }, { "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX" }, { "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX/" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-13625", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-13625" }, { "reference_url": "https://usn.ubuntu.com/4505-1", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://usn.ubuntu.com/4505-1" }, { "reference_url": "https://usn.ubuntu.com/4505-1/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/4505-1/" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962827", "reference_id": "962827", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962827" }, { "reference_url": "https://github.com/advisories/GHSA-f7hx-fqxw-rvvj", "reference_id": "GHSA-f7hx-fqxw-rvvj", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-f7hx-fqxw-rvvj" }, { "reference_url": "https://usn.ubuntu.com/5956-1/", "reference_id": "USN-5956-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/5956-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/928218?format=api", "purl": "pkg:deb/debian/libphp-phpmailer@6.1.6-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@6.1.6-1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/928209?format=api", "purl": "pkg:deb/debian/libphp-phpmailer@6.2.0-2?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-jca1-hyks-kud3" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@6.2.0-2%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/928207?format=api", "purl": "pkg:deb/debian/libphp-phpmailer@6.6.3-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@6.6.3-1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/928210?format=api", "purl": "pkg:deb/debian/libphp-phpmailer@6.9.3-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@6.9.3-1%3Fdistro=trixie" } ], "aliases": [ "CVE-2020-13625", "GHSA-f7hx-fqxw-rvvj" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-16kp-5zpw-fbha" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@6.1.6-1%3Fdistro=trixie" }