Skip to content
OpenAdvisories
High Public exploit CVE-2008-5619 EUVD-2022-5286GHSA-v5c9-mmw9-829q

PHPMailer susceptible to arbitrary code execution

Published Dec 17, 2008 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 roundcube 0.1.1-9 —
Debian 13 roundcube 0.1.1-9 —
Debian 12 roundcube 0.1.1-9 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpmailer/phpmailer < 5.2.10 5.2.10 GHSA-v5c9-mmw9-829q

References