CVE-2008-5619
PHPMailer susceptible to arbitrary code execution
Also known as EDB-7549, EDB-7553, GHSA-v5c9-mmw9-829q
Mitigation
- Upgrade phpmailer/phpmailer to 5.2.10 or later.
Who should check
- Projects that depend on Packagist package phpmailer/phpmailer (< 5.2.10)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- phpmailer/phpmailer < 5.2.10
- Fixed in
- 5.2.10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 10.0 (v2.0, NVD)AV:N/AC:L/Au:N/C:C/I:C/A:C
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Authentication: None
- Confidentiality impact: Complete
- Integrity impact: Complete
- Availability impact: Complete
- EPSS
- 58.64% chance of exploitation in 30 days (percentile 99, 2026-11-26)
- CWE
- CWE-94
- Modified
Description
html2text.php in Chuggnutt HTML to Text Converter, as used in PHPMailer before 5.2.10, RoundCube Webmail (roundcubemail) 0.2-1.alpha and 0.2-3.beta, Mahara, and AtMail Open 1.03, allows remote attackers to execute arbitrary code via crafted input that is processed by the preg_replace function with the eval switch.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist phpmailer/phpmailer | < 5.2.10 | 5.2.10 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2008-5619. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2008-5619.md Affected: phpmailer/phpmailer < 5.2.10 Fixed in: 5.2.10 Steps: 1. Search this machine and project for phpmailer/phpmailer (Packagist), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00802.html
- http://sourceforge.net/forum/forum.php?forum_id=898542
- https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00783.html
- http://secunia.com/advisories/33170
- https://nvd.nist.gov/vuln/detail/CVE-2008-5619
Exploits and PoCs
Other
- http://mahara.org/interaction/forum/topic.php?id=533
- http://www.vupen.com/english/advisories/2008/3418
- http://osvdb.org/53893
- http://secunia.com/advisories/34789
- http://www.vupen.com/english/advisories/2008/3419
- http://www.openwall.com/lists/oss-security/2008/12/12/1
- http://secunia.com/advisories/33145
- http://www.securityfocus.com/archive/1/499489/100/0/threaded
- https://github.com/PHPMailer/PHPMailer
FAQ
Is CVE-2008-5619 being exploited?
There is no confirmed exploitation: CVE-2008-5619 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 58.64% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2008-5619?
Critical: CVSS 10.0 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2008-5619?
phpmailer/phpmailer < 5.2.10.
Is there a fix for CVE-2008-5619?
Yes. Fixed in 5.2.10. Upgrade phpmailer/phpmailer to 5.2.10 or later.
How do I check if I'm affected by CVE-2008-5619?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.