{"id":"CVE-2008-5619","aliases":["DEBIAN-CVE-2008-5619","EUVD-2022-5286","GHSA-v5c9-mmw9-829q"],"status":"published","title":"PHPMailer susceptible to arbitrary code execution","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.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.58637,"percentile":0.99107,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-94"],"published":"2008-12-17T02:00:00Z","modified":"2026-10-23T17:47:36Z","exploits":[{"source":"exploitdb","id":"EDB-7549","title":"Roundcube Webmail 0.2-3 Beta - Code Execution","type":"webapps","platform":"php","date":"2008-12-22","verified":true,"url":"https://www.exploit-db.com/exploits/7549"},{"source":"exploitdb","id":"EDB-7553","title":"Roundcube Webmail 0.2b - Remote Code Execution","type":"webapps","platform":"php","date":"2008-12-22","verified":true,"url":"https://www.exploit-db.com/exploits/7553"}],"fixes":[{"ecosystem":"Packagist","package":"phpmailer/phpmailer","fixed_in":["5.2.10"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"roundcube","fixed_in":["0.1.1-9"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"roundcube","fixed_in":["0.1.1-9"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"roundcube","fixed_in":["0.1.1-9"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"phpmailer/phpmailer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.10"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"roundcube","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.1-9"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"roundcube","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.1-9"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"roundcube","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.1-9"}]}]},{"source":"osv","ecosystem":"Packagist","package":"phpmailer/phpmailer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.10"}]}],"versions":["v5.2.2","v5.2.4","v5.2.5","v5.2.6","v5.2.7","v5.2.8","v5.2.9"]}],"products":[{"vendor":"roundcube","product":"webmail"}],"references":[{"url":"http://mahara.org/interaction/forum/topic.php?id=533","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://www.exploit-db.com/exploits/7549","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","web"]},{"url":"https://www.exploit-db.com/exploits/7553","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","web"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00802.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2008/3418","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"https://github.com/PHPMailer/PHPMailer/commit/8beacc646acb67c995aea10ac5585970efc7355a","tags":["x_refsource_CONFIRM","x_transferred","fix","web"]},{"url":"http://trac.roundcube.net/changeset/2148","tags":["x_refsource_CONFIRM","x_transferred","Exploit","evidence","web"]},{"url":"http://osvdb.org/53893","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://sourceforge.net/forum/forum.php?forum_id=898542","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://secunia.com/advisories/34789","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/3419","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://trac.roundcube.net/ticket/1485618","tags":["x_refsource_MISC","x_transferred","Exploit","evidence","web"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00783.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2008/12/12/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/33170","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/33145","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/499489/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5619","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-v5c9-mmw9-829q"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-5619","tags":["advisory"]},{"url":"https://github.com/PHPMailer/PHPMailer","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2008-5619","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.","status":"published","published":"2008-12-17T02:00:00Z","modified":"2024-08-07T10:56:47.37Z","updated_at":"2026-11-02T14:34:43.943588Z"}],"euvd":[{"id":"EUVD-2022-5286","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.","status":"published","published":"2008-12-17T02:00:00Z","modified":"2024-08-07T10:56:47Z","updated_at":"2026-11-03T01:38:42.372366Z"}],"ghsa":[{"id":"GHSA-v5c9-mmw9-829q","title":"PHPMailer susceptible to arbitrary code execution","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.","status":"published","published":"2022-05-14T02:39:43Z","modified":"2023-01-27T05:02:14Z","cwes":["CWE-94"],"updated_at":"2026-11-02T14:36:17.742171Z"}],"nvd":[{"id":"CVE-2008-5619","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.","status":"published","published":"2008-12-17T02:30:00.25Z","modified":"2026-06-16T23:00:40.467Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:01:30.411919Z"}],"osv":[{"id":"CVE-2008-5619","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.","status":"published","published":"2008-12-17T02:30:00Z","modified":"2026-04-10T03:40:25.5865Z","updated_at":"2026-11-02T15:43:57.452479Z"},{"id":"DEBIAN-CVE-2008-5619","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.","status":"published","published":"2008-12-17T02:30:00.25Z","modified":"2026-10-23T17:47:36.298275308Z","updated_at":"2026-11-02T15:45:23.742363Z"},{"id":"GHSA-v5c9-mmw9-829q","title":"PHPMailer susceptible to arbitrary code execution","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.","status":"published","published":"2022-05-14T02:39:43Z","modified":"2024-12-05T05:56:42.780161Z","cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:56.639206Z"}]}}
