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 code/issues, web search, more)
NVD severityhigh
Debian Bugs508628, 508909, 524778, 536498

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
roundcube (PTS)stretch1.2.3+dfsg.1-4+deb9u3fixed
stretch (security)1.2.3+dfsg.1-4+deb9u5fixed
buster (security)1.3.14+dfsg.1-1~deb10u1fixed
bullseye, sid1.4.7+dfsg.1-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