Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-42009: RoundCube Webmail Cross-Site Scripting Vulnerability

87
Patch now
CRITICAL 9.3EXPLOITEDUPGRADE

CVE-2024-42009 is a critical-severity flaw (CVSS 9.3) affecting webmail, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

A Cross-Site Scripting vulnerability in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to steal and send emails of a victim via a crafted e-mail message that abuses a Desanitization issue in message_body() in program/actions/mail/show.php.

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score9.3 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance82.9% (top 1%)
CISA exploited listYes, fix due 2025-06-30
WeaknessCWE-79
Published2024-08-05
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: roundcube

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

roundcube webmail UPGRADE
Affected: < 1.5.8 · >= 1.6.0 and < 1.6.8
Fixed in: 1.5.8, 1.6.8
Safe to downgrade to: a release before 1.6.0
1. Check installed version
apt-cache policy webmail || rpm -q webmail || webmail --version
2. UPGRADE to 1.5.8 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade webmail
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade webmail
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.6.0 (Debian / Ubuntu)
apt-cache madison webmail sudo apt install webmail=<VERSION_BEFORE_1.6.0> sudo apt-mark hold webmail
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list webmail sudo dnf downgrade webmail-<VERSION_BEFORE_1.6.0> sudo dnf versionlock add webmail
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora ELN · gram_grep · FIXED · 0.10.4-1.eln159 · FEDORA-2026-0808475f2a · source
sudo dnf upgrade --advisory=FEDORA-2026-0808475f2a
Fedora 46 · wesnoth · FIXED · 1.19.29-1.fc46 · FEDORA-2026-58f458e24e · source
sudo dnf upgrade --advisory=FEDORA-2026-58f458e24e
Ubuntu 20.04 · roundcube · NOT AFFECTED
Ubuntu 22.04 · roundcube · NOT AFFECTED
Ubuntu 24.04 · roundcube · FIXED · 1.6.6+dfsg-2ubuntu0.1+esm1
sudo apt update && sudo apt install --only-upgrade roundcube dpkg --compare-versions "$(dpkg-query -W -f='${Version}' roundcube)" ge "1.6.6+dfsg-2ubuntu0.1+esm1" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 24.10 · roundcube · NOT AFFECTED
Ubuntu 25.04 · roundcube · NOT AFFECTED
Debian 12 · roundcube · FIXED · 1.6.5+dfsg-1+deb12u3
sudo apt update && sudo apt install --only-upgrade roundcube dpkg --compare-versions "$(dpkg-query -W -f='${Version}' roundcube)" ge "1.6.5+dfsg-1+deb12u3" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · roundcube · FIXED · 1.6.8+dfsg-1
sudo apt update && sudo apt install --only-upgrade roundcube dpkg --compare-versions "$(dpkg-query -W -f='${Version}' roundcube)" ge "1.6.8+dfsg-1" && echo PATCHED || echo STILL-VULNERABLE

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Advisories and coverage

Official advisories

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-42009?

webmail: upgrade to 1.5.8, 1.6.8. Exact commands for each OS are on this page.

Is CVE-2024-42009 being exploited?

Yes. CVE-2024-42009 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2024-42009 affect?

CVE-2024-42009 affects webmail. Severity is critical (CVSS 9.3). A Cross-Site Scripting vulnerability in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to steal and send emails of a victim via a crafted e-mail message that abuses a Desanitization issue in message_body() in progr

How urgent is CVE-2024-42009?

Priority 87/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference

Software pages

PHP vulnerabilities · Roundcube vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.