Descriptionhtml2text.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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
Debian Bugs508628, 508909, 524778, 536498

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
roundcube (PTS)buster, buster (security)1.3.17+dfsg.1-1~deb10u2fixed
bullseye (security), bullseye1.4.13+dfsg.1-1~deb11u1fixed
bookworm, sid1.6.0+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
maharasourcelenny(not affected)
moodlesourceetch(not affected)
roundcubesource(unstable)0.1.1-9high508628, 536498


According to the bug report, this is being exploited.
[etch] - moodle <not-affected> (Vulnerable code not present)
moodle recently copied roundcube's html2text due to their copy being non-free
[lenny] - mahara <not-affected> (html2text.php wasn't yet included)

Search for package or bug name: Reporting problems