
Catalogo CVE
CVE-2017-5223
libphp-phpmailer: CVE-2017-5223
- Gravità
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.14% · Oct 22, 2026
An issue was discovered in PHPMailer before 5.2.22. PHPMailer's msgHTML method applies transformations to an HTML document to make it usable as an email message body. One of the transformations is to convert relative image URLs into attachments using a script-provided base directory. If no base directory is provided, it resolves to /, meaning that relative image URLs get treated as absolute local file paths and added as attachments. To form a remote vulnerability, the msgHTML method must be called, passed an unfiltered, user-supplied HTML document, and must not set a base directory.
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 | 5.2.10+dfsg-1 | vulnerable |
| Ubuntu | libphp-phpmailer | pro | 5.2.14+dfsg-1 | vulnerable |
| Ubuntu | libphp-phpmailer | pro | 5.2.14+dfsg-1build1 | vulnerable |
| Ubuntu | libphp-phpmailer | pro | 5.2.14+dfsg-1ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libphp-phpmailer | source | sid | 5.2.14+dfsg-2.3 | not yet assigned | Not reported | [853232] |
| Debian | libphp-phpmailer | source | forky | 5.2.14+dfsg-2.3 | not yet assigned | Not reported | [853232] |
| Debian | libphp-phpmailer | source | trixie | 5.2.14+dfsg-2.3 | not yet assigned | Not reported | [853232] |
| Debian | libphp-phpmailer | source | bookworm | 5.2.14+dfsg-2.3 | not yet assigned | Not reported | [853232] |
| Ubuntu | libphp-phpmailer | deb | pro | 5.2.14+dfsg-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2017-5223 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libphp-phpmailer]Corretta
Dettagli (2)
6.6.3-1· all · bookwormCorretta · Corretta:
5.2.14+dfsg-2.3dsa · libphp-phpmailer · debian · bookworm; dsa · libphp-phpmailer · debian · 12
6.6.3-1· all · bookwormCorretta · Corretta:
5.2.14+dfsg-2.3dsa · libphp-phpmailer · debian · bookworm; dsa · libphp-phpmailer · debian · 12
[Debian 13 (Trixie)]
- [libphp-phpmailer]Corretta
Dettagli (2)
6.9.3-1· all · trixieCorretta · Corretta:
5.2.14+dfsg-2.3dsa · libphp-phpmailer · debian · 13
6.9.3-1· all · trixieCorretta · Corretta:
5.2.14+dfsg-2.3dsa · libphp-phpmailer · debian · 13
Osservato:
Riferimenti
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-5223]
- [https://osv.dev/vulnerability/DLA-1591-1]
- [https://osv.dev/vulnerability/DLA-817-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-5223]
- [https://security-tracker.debian.org/tracker/CVE-2017-5223]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]