Catalogo CVE

CVE-2021-3603

libphp-phpmailer: CVE-2021-3603

[Catalogo CVE]

Gravità
Medium
Published
Source
[NVD] · [CVE record]
EPSS
2.26% · Oct 22, 2026

PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such code is injected into the host project's scope by other means). If the $patternselect parameter to validateAddress() is set to 'php' (the default, defined by PHPMailer::$validator), and the global namespace contains a function called php, it will be called in preference to the built-in validator of the same name. Mitigated in PHPMailer 6.5.0 by denying the use of simple strings as validator function names.

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
Ubuntulibphp-phpmailerpro6.2.0-2vulnerable
Ubuntulibphp-phpmailerpro6.2.0-2ubuntu0.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibphp-phpmailersourcesid6.6.3-1not yet assignedNot reported[991666]
Debianlibphp-phpmailersourceforky6.6.3-1not yet assignedNot reported[991666]
Debianlibphp-phpmailersourcetrixie6.6.3-1not yet assignedNot reported[991666]
Debianlibphp-phpmailersourcebookworm6.6.3-1not yet assignedNot reported[991666]
Ubuntulibphp-phpmailerdebpro6.2.0-2ubuntu0.1~esm1Not reportedUBUNTU-CVE-2021-3603Not reported

[Debian bug #991666]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Corretta · Corretta: 6.6.3-1

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

    • 6.6.3-1 · all · bookworm

      Corretta · Corretta: 6.6.3-1

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

[Debian 13 (Trixie)]

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

      Corretta · Corretta: 6.6.3-1

      dsa · libphp-phpmailer · debian · 13

    • 6.9.3-1 · all · trixie

      Corretta · Corretta: 6.6.3-1

      dsa · libphp-phpmailer · debian · 13

Osservato:

Riferimenti