CVE catalog

CVE-2020-36326

libphp-phpmailer: CVE-2020-36326

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianlibphp-phpmailersid7.1.1-1fixed
Debianlibphp-phpmailerforky7.1.1-1fixed
Debianlibphp-phpmailertrixie6.9.3-1fixed
Debianlibphp-phpmailerbookworm6.6.3-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibphp-phpmailersourcesid6.2.0-2not yet assignedNot reported[988732]
Debianlibphp-phpmailersourceforky6.2.0-2not yet assignedNot reported[988732]
Debianlibphp-phpmailersourcetrixie6.2.0-2not yet assignedNot reported[988732]
Debianlibphp-phpmailersourcebookworm6.2.0-2not yet assignedNot reported[988732]

[Debian bug #988732]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 6.6.3-1 · all · bookworm

      Fixed · Fixed: 6.2.0-2

      dsa · libphp-phpmailer · debian · bookworm; dsa · libphp-phpmailer · debian · 12

    • 6.6.3-1 · all · bookworm

      Fixed · Fixed: 6.2.0-2

      dsa · libphp-phpmailer · debian · bookworm; dsa · libphp-phpmailer · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 6.9.3-1 · all · trixie

      Fixed · Fixed: 6.2.0-2

      dsa · libphp-phpmailer · debian · 13

    • 6.9.3-1 · all · trixie

      Fixed · Fixed: 6.2.0-2

      dsa · libphp-phpmailer · debian · 13

Observed:

References