Advisory record · GHSA-v5c9-mmw9-829q

PHPMailer susceptible to arbitrary code execution

No CVSS scoreEPSS 0.59 · 99th percentile

Published by the GitHub Advisory Database at 14 May 2022, 02:39 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
phpmailer/phpmailerPackagist<5.2.105.2.10
Identifiers
GHSA-v5c9-mmw9-829q · CVE-2008-5619 · PKSA-rh9h-fj14-12r3
Weakness (CWE)
CWE-94
Published
14 May 2022
Updated
5 Dec 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

PHPMailer phpmailer/phpmailer versions before 5.2.10 are vulnerable to arbitrary code execution through its bundled html2text.php converter, which passes crafted input to preg_replace with the eval modifier. The source describes remote attackers exploiting this by supplying crafted input that gets processed, though it gives few details on the exact conditions required. Upgrade phpmailer/phpmailer to version 5.2.10 or later.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS 0.59, the 99th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:28 UTC First seen by agentprime
  2. 31 Oct 2026, 14:28 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.