Catalogo CVE

CVE-2017-5223

libphp-phpmailer: CVE-2017-5223

[Catalogo CVE]

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.

DistributionPackageReleaseVersionStatus
Debianlibphp-phpmailersid7.1.1-1fixed
Debianlibphp-phpmailerforky7.1.1-1fixed
Debianlibphp-phpmailertrixie6.9.3-1fixed
Debianlibphp-phpmailerbookworm6.6.3-1fixed
Ubuntulibphp-phpmailerpro5.2.10+dfsg-1vulnerable
Ubuntulibphp-phpmailerpro5.2.14+dfsg-1vulnerable
Ubuntulibphp-phpmailerpro5.2.14+dfsg-1build1vulnerable
Ubuntulibphp-phpmailerpro5.2.14+dfsg-1ubuntu0.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibphp-phpmailersourcesid5.2.14+dfsg-2.3not yet assignedNot reported[853232]
Debianlibphp-phpmailersourceforky5.2.14+dfsg-2.3not yet assignedNot reported[853232]
Debianlibphp-phpmailersourcetrixie5.2.14+dfsg-2.3not yet assignedNot reported[853232]
Debianlibphp-phpmailersourcebookworm5.2.14+dfsg-2.3not yet assignedNot reported[853232]
Ubuntulibphp-phpmailerdebpro5.2.14+dfsg-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2017-5223Not reported

[Debian bug #853232]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Corretta · Corretta: 5.2.14+dfsg-2.3

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

    • 6.6.3-1 · all · bookworm

      Corretta · Corretta: 5.2.14+dfsg-2.3

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

[Debian 13 (Trixie)]

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

      Corretta · Corretta: 5.2.14+dfsg-2.3

      dsa · libphp-phpmailer · debian · 13

    • 6.9.3-1 · all · trixie

      Corretta · Corretta: 5.2.14+dfsg-2.3

      dsa · libphp-phpmailer · debian · 13

Osservato:

Riferimenti