Patchfirst
CVE-2008-5619 Public exploit EPSS 58.6%

html2text.php in Chuggnutt HTML to Text Converter, as used in PHPMailer before 5.2.10, RoundCube Webmail…

Summary

The flaw is in html2text.php, a component of the Chuggnutt HTML to Text Converter as bundled in PHPMailer (before 5.2.10), RoundCube Webmail, Mahara, and AtMail Open, where crafted input passed to preg_replace with the eval switch is evaluated as code. An attacker with only remote access can execute arbitrary code by supplying the crafted input that the converter processes, with no authentication or user interaction mentioned as required.

Official description · CVE.org

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.

Breakdown
24.8 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Exploit-DB) appeared 5 days after disclosure. No confirmed exploitation is recorded.

  1. Disclosedday 0
  2. Public exploit codeExploit-DB+5 days

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: phpmailer/phpmailer.

Packagistphpmailer/phpmailerGHSA-v5c9-mmw9-829q

Upgrade to 5.2.20 or later

Fixes this CVE and 2 other known vulnerabilities in this package (CVE-2016-10033, CVE-2016-10045).

Set the version to 5.2.20 or later in your composer.json.

First fixed in 5.2.10 for CVE-2008-5619.

Affected versions

If you runUpgrade to
All versions before 5.2.105.2.20first fix for this CVE: 5.2.10

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

17 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close