CVEvulnerability
CVE-2020-36326
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-04-28
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-502
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.
Affected configurations
• phpmailer project phpmailer (>= 6.1.8 <= 6.4.0)
• wordpress wordpress (>= 3.7 < 3.7.36)
• wordpress wordpress (>= 3.8 < 3.8.36)
• wordpress wordpress (>= 3.9 < 3.9.34)
• wordpress wordpress (>= 4.0 < 4.0.33)
• wordpress wordpress (>= 4.1 < 4.1.33)
• wordpress wordpress (>= 4.2 < 4.2.30)
• wordpress wordpress (>= 4.3 < 4.3.26)
• wordpress wordpress (>= 4.4 < 4.4.25)
• wordpress wordpress (>= 4.5 < 4.5.24)
• wordpress wordpress (>= 4.6 < 4.6.21)
• wordpress wordpress (>= 4.7 < 4.7.21)
• wordpress wordpress (>= 4.8 < 4.8.17)
• wordpress wordpress (>= 4.9 < 4.9.18)
• wordpress wordpress (>= 5.0 < 5.0.13)
• wordpress wordpress (>= 5.1 < 5.1.10)
• wordpress wordpress (>= 5.2 < 5.2.11)
• wordpress wordpress (>= 5.3 < 5.3.8)
• wordpress wordpress (>= 5.4 < 5.4.6)
• wordpress wordpress (>= 5.5 < 5.5.5)
• wordpress wordpress (>= 5.6 < 5.6.4)
• wordpress wordpress (>= 5.7 < 5.7.2)
Related
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9 Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/ lists.fedoraproject.org
- https://github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9 Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/ lists.fedoraproject.org