CVE-2008-5619
CriticalPublic exploitPHPMailer susceptible to arbitrary code execution
Published May 14, 2022 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2008-5619, GHSA-v5c9-mmw9-829q
Key Facts
Patch immediately- CVE-2008-5619 is a critical-severity vulnerability (CVSS 10.0 v2) affecting Webmail (Roundcube), phpmailer/phpmailer (composer), roundcube (debian).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 59% probability of exploitation in the next 30 days.
- Fixed versions are available, including phpmailer/phpmailer 5.2.10, roundcube 0.1.1-9.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v2
10.0
AV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS (30-day exploit likelihood)
59%
Higher than 99.0% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2008-5619 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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 Products
14 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| WebmailRoundcube | 0.2.1-alpha, 0.2.3-beta | n/a |
| phpmailer/phpmailercomposer | See advisory | 5.2.10 |
| roundcubedebian | See advisory | 0.1.1-9 |
Patched Releases
phpmailer/phpmailer
5.2.10
roundcube
0.1.1-9
Timeline
Publicly disclosed
May 14, 2022
Last updated
Aug 4, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- advisoryhttp://mahara.org/interaction/forum/topic.php?id=533
- advisory53893
- advisory33170
- advisoryGHSA advisory
- advisoryhttps://github.com/PHPMailer/PHPMailer/commit/8beacc646acb67c995aea10ac5585970efc7355a
FAQ
Common Questions.
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: Webmail (Roundcube) versions 0.2.1-alpha, 0.2.3-beta; phpmailer/phpmailer (composer); roundcube (debian). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including phpmailer/phpmailer 5.2.10, roundcube 0.1.1-9.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2008-5619 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo