CVE-2008-5619 in Roundcube Webmail
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Roundcube | Webmail | 0.2.1 0.2.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2008-5619 |
|---|---|
| BreachSpider ID | BS-2008-GLOBAL-163222-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2008-12-17 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical vulnerability in the html2text.php script of the Chuggnutt HTML to Text Converter, used in several applications including PHPMailer, RoundCube Webmail, Mahara, and AtMail Open, allows remote attackers to execute arbitrary code through crafted input processed by the preg_replace function with the eval modifier.
The vulnerability arises from the use of the preg_replace function with the eval modifier in the html2text.php script. Attackers can craft malicious input that, when processed by this function, can lead to the execution of arbitrary PHP code on the server.
Questions
What is CVE-2008-5619?
A critical vulnerability in the html2text.php script of the Chuggnutt HTML to Text Converter, used in several applications including PHPMailer, RoundCube Webmail, Mahara, and AtMail Open, allows remote attackers to execute arbitrary code through crafted input processed by the preg_replace function with the eval modifier.
What is the CVSS score for CVE-2008-5619?
CVE-2008-5619 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 58.6%.
Is CVE-2008-5619 actively exploited?
Public exploit available for CVE-2008-5619. Exploitation risk elevated.
How do I remediate CVE-2008-5619?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2008-5619?
CVE-2008-5619 affects Roundcube Webmail.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Roundcube","product":"Webmail","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.