cve.bz

CVE-2020-12641 Roundcube Webmail Remote Code Execution Vulnerability

9.8 criticalKEVExploit referenceEPSS 84%Fix available

Critical (9.8) in Roundcube Roundcube Webmail. In CISA KEV since 2023-06-22. EPSS 84% estimated probability of exploitation activity in the next 30 days.

On this page
rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in a configuration setting for im_convert_path or im_identify_path.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
84% (unchanged from 84% a week ago; 84% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2023-06-22, due 2023-07-13
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2025-02-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-12641 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12641?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12641?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-12641 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
roundcube:webmailfrom 1.2.0 before 1.2.10
roundcube:webmailfrom 1.3.0 before 1.3.11
roundcube:webmailfrom 1.4.0 before 1.4.4
opensuse:backports_sle15.0:sp1
opensuse:backports_sle15.0:sp2
opensuse:leap15.1
opensuse:leap15.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14roundcube1.4.4+dfsg.1-1DEBIAN-CVE-2020-12641
UbuntuPro:16.04:LTSroundcube1.2~beta+dfsg.1-0ubuntu1+esm2UBUNTU-CVE-2020-12641 USN-5182-1
UbuntuPro:18.04:LTSroundcube1.3.6+dfsg.1-1ubuntu0.1~esm2UBUNTU-CVE-2020-12641 USN-5182-1
UbuntuPro:20.04:LTSroundcube1.4.3+dfsg.1-1ubuntu0.1~esm1UBUNTU-CVE-2020-12641 USN-5182-1
UbuntuPro:22.04:LTSroundcube1.5.0+dfsg.1-2ubuntu0.1~esm1USN-5182-1
SUSEPackage Hub 15 SP1, Package Hub 15 SP2roundcubemail1.3.15-bp152.4.3.1openSUSE-SU-2020:1516-1
SUSEPackage Hub 15 SP3, Package Hub 15 SP4roundcubemail1.5.3-bp154.2.3.1openSUSE-SU-2022:10148-1
openSUSELeap 15.1, Leap 15.2roundcubemail1.3.15-bp152.4.3.1openSUSE-SU-2020:1516-1
openSUSELeap 15.3, Leap 15.4roundcubemail1.5.3-bp154.2.3.1openSUSE-SU-2022:10148-1
openSUSETumbleweedroundcubemail1.4.11-1.3openSUSE-SU-2024:11303-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON