Remote code executionin the phpmailer/phpmailer package.
Proof of concept public (Exploit-DB).
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.
- Upgrade phpmailer/phpmailer (Packagist) to 5.2.10 or later.
Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 16 Dec 2008CVE ID reserved by mitre.
- 17 Dec 2008Published in the CVE List.
- 7 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- mahara.org x_refsource_CONFIRM
- www.redhat.com vendor-advisory, x_refsource_FEDORA
- www.vupen.com vdb-entry, x_refsource_VUPEN
- github.com x_refsource_CONFIRM
- trac.roundcube.net x_refsource_CONFIRM
- osvdb.org vdb-entry, x_refsource_OSVDB
- sourceforge.net x_refsource_CONFIRM
- secunia.com third-party-advisory, x_refsource_SECUNIA
- www.vupen.com vdb-entry, x_refsource_VUPEN
- trac.roundcube.net x_refsource_MISC
- www.redhat.com vendor-advisory, x_refsource_FEDORA
- www.openwall.com mailing-list, x_refsource_MLIST
- secunia.com third-party-advisory, x_refsource_SECUNIA
- secunia.com third-party-advisory, x_refsource_SECUNIA
- www.securityfocus.com mailing-list, x_refsource_BUGTRAQ
Patchminder. CVE-2008-5619: Remote code execution in the phpmailer/phpmailer package. https://patchminder.com/cve/cve-2008-5619/ (accessed 5 December 2026).