
CVE catalog
CVE-2020-36326
libphp-phpmailer: CVE-2020-36326
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.09% · Oct 22, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libphp-phpmailer | sid | 7.1.1-1 | fixed |
| Debian | libphp-phpmailer | forky | 7.1.1-1 | fixed |
| Debian | libphp-phpmailer | trixie | 6.9.3-1 | fixed |
| Debian | libphp-phpmailer | bookworm | 6.6.3-1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libphp-phpmailer | source | sid | 6.2.0-2 | not yet assigned | Not reported | [988732] |
| Debian | libphp-phpmailer | source | forky | 6.2.0-2 | not yet assigned | Not reported | [988732] |
| Debian | libphp-phpmailer | source | trixie | 6.2.0-2 | not yet assigned | Not reported | [988732] |
| Debian | libphp-phpmailer | source | bookworm | 6.2.0-2 | not yet assigned | Not reported | [988732] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libphp-phpmailer]Fixed
Details (2)
6.6.3-1· all · bookwormFixed · Fixed:
6.2.0-2dsa · libphp-phpmailer · debian · bookworm; dsa · libphp-phpmailer · debian · 12
6.6.3-1· all · bookwormFixed · Fixed:
6.2.0-2dsa · libphp-phpmailer · debian · bookworm; dsa · libphp-phpmailer · debian · 12
[Debian 13 (Trixie)]
- [libphp-phpmailer]Fixed
Details (2)
6.9.3-1· all · trixieFixed · Fixed:
6.2.0-2dsa · libphp-phpmailer · debian · 13
6.9.3-1· all · trixieFixed · Fixed:
6.2.0-2dsa · libphp-phpmailer · debian · 13
Observed: