{"id":"BIT-phpmailer-2020-36326","details":"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.","aliases":["BIT-wordpress-2020-36326","BIT-wordpress-multisite-2020-36326","CVE-2020-36326","GHSA-m298-fh5c-jc66"],"modified":"2026-09-08T08:48:24.679295590Z","published":"2024-03-06T11:01:49.692Z","database_specific":{"severity":"Critical","cpes":["cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36326"}],"affected":[{"package":{"name":"phpmailer","ecosystem":"Bitnami","purl":"pkg:bitnami/phpmailer"},"ranges":[{"type":"SEMVER","events":[{"introduced":"6.1.8"},{"fixed":"6.4.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/phpmailer/BIT-phpmailer-2020-36326.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.9.0"}