
Catalogo CVE
CVE-2021-3603
libphp-phpmailer: CVE-2021-3603
- 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.
| 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 |
| Ubuntu | libphp-phpmailer | pro | 6.2.0-2 | vulnerable |
| Ubuntu | libphp-phpmailer | pro | 6.2.0-2ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libphp-phpmailer | source | sid | 6.6.3-1 | not yet assigned | Not reported | [991666] |
| Debian | libphp-phpmailer | source | forky | 6.6.3-1 | not yet assigned | Not reported | [991666] |
| Debian | libphp-phpmailer | source | trixie | 6.6.3-1 | not yet assigned | Not reported | [991666] |
| Debian | libphp-phpmailer | source | bookworm | 6.6.3-1 | not yet assigned | Not reported | [991666] |
| Ubuntu | libphp-phpmailer | deb | pro | 6.2.0-2ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2021-3603 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libphp-phpmailer]Corretta
Dettagli (2)
6.6.3-1· all · bookwormCorretta · Corretta:
6.6.3-1dsa · libphp-phpmailer · debian · bookworm; dsa · libphp-phpmailer · debian · 12
6.6.3-1· all · bookwormCorretta · Corretta:
6.6.3-1dsa · libphp-phpmailer · debian · bookworm; dsa · libphp-phpmailer · debian · 12
[Debian 13 (Trixie)]
- [libphp-phpmailer]Corretta
Dettagli (2)
6.9.3-1· all · trixieCorretta · Corretta:
6.6.3-1dsa · libphp-phpmailer · debian · 13
6.9.3-1· all · trixieCorretta · Corretta:
6.6.3-1dsa · libphp-phpmailer · debian · 13
Osservato:
Riferimenti
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-3603]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-3603]
- [https://security-tracker.debian.org/tracker/CVE-2021-3603]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2023-0663.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]