{"schemaVersion":3,"id":"CVE-2020-36326","aliases":["UBUNTU-CVE-2020-36326","DEBIAN-CVE-2020-36326"],"status":"published","duplicateOf":null,"title":null,"description":"PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UNC pathname. NOTE: this is similar to CVE-2018-19296, but arose because 6.1.8 fixed a functionality problem in which UNC pathnames were always considered unreadable by PHPMailer, even in safe contexts. As an unintended side effect, this fix eliminated the code that blocked addAttachment exploitation.","dates":{"published":"2021-04-28T02:21:53.000Z","modified":"2024-08-04T17:23:10.518Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03095,"percentile":0.87552,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03095},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03095,"percentile":0.87552}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03095,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03095,"percentile":0.87552}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"debian","product":"libphp-phpmailer","name":"libphp-phpmailer","label":"libphp-phpmailer","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libphp-phpmailer","purlType":"deb","versions":[{"text":"< 6.2.0-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.2.0-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libphp-phpmailer","name":"libphp-phpmailer","label":"libphp-phpmailer","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libphp-phpmailer","purlType":"deb","versions":[{"text":"< 6.2.0-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.2.0-2","eol":null,"hubHref":null},{"vendor":"phpmailer_project","product":"phpmailer","name":"phpmailer","label":"phpmailer","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.1.8, ≤ 6.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.1.8, ≤ 6.4.0","eol":null,"hubHref":"/vendor/phpmailer_project/phpmailer"},{"vendor":"wordpress","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.7, < 3.7.36","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.8, < 3.8.36","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.9, < 3.9.34","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0, < 4.0.33","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.1, < 4.1.33","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.2, < 4.2.30","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.3, < 4.3.26","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.4, < 4.4.25","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.5, < 4.5.24","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.6, < 4.6.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.7, < 4.7.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.8, < 4.8.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.9, < 4.9.18","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0, < 5.0.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.1, < 5.1.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.2, < 5.2.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.3, < 5.3.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.4, < 5.4.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.5, < 5.5.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.6, < 5.6.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.7, < 5.7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.7, < 3.7.36 | ≥ 3.8, < 3.8.36 | ≥ 3.9, < 3.9.34 | ≥ 4.0, < 4.0.33 | ≥ 4.1, < 4.1.33 | ≥ 4.2, < 4.2.30 | ≥ 4.3, < 4.3.26 | ≥ 4.4, < 4.4.25 | ≥ 4.5, < 4.5.24 | ≥ 4.6, < 4.6.21 | ≥ 4.7, < 4.7.21 | ≥ 4.8, < 4.8.17 | ≥ 4.9, < 4.9.18 | ≥ 5.0, < 5.0.13 | ≥ 5.1, < 5.1.10 | ≥ 5.2, < 5.2.11 | ≥ 5.3, < 5.3.8 | ≥ 5.4, < 5.4.6 | ≥ 5.5, < 5.5.5 | ≥ 5.6, < 5.6.4 | ≥ 5.7, < 5.7.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"wordpress","label":"WordPress","category":"server-app"}},"hubHref":"/vendor/wordpress/wordpress"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9","label":"github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://ubuntu.com/security/CVE-2020-36326","label":"ubuntu.com/security/CVE-2020-36326","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-36326","label":"www.cve.org/CVERecord?id=CVE-2020-36326","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-36326","label":"security-tracker.debian.org/tracker/CVE-2020-36326","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-04-28T02:21:53.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T17:23:10.518Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:25:18.140Z","stale":false,"partial":false}}