Every CVE Search/ Get API key

CVE-2020-12641

rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via...

9.8 CriticalIn KEVPublic exploitFix available

CVE-2020-12641 is a critical vulnerability (CVSS 9.8) in Roundcube Webmail, published May 4, 2020. CISA lists it as known to be exploited, since June 22, 2023. EUVD reports exploitation since June 22, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 84.4%, the 99th percentile. Fixed in roundcube 1.2.10.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

84.4%Up 81.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2020-12641
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-78
Updated
2026-11-02
CVE List 9.8

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.

Record
CVE-2020-12641
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
EUVDEUVD-2020-4942 9.8

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.

Record
EUVD-2020-4942
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-q9jx-pp2v-v8xh 9.8

rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via...

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.

Record
GHSA-q9jx-pp2v-v8xh
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-78, CWE-88
Updated
2026-11-02
CISA KEV No score

Roundcube Webmail Remote Code Execution Vulnerability

Roundcube Webmail contains an remote code execution vulnerability that allows attackers to execute code via shell metacharacters in a configuration setting for im_convert_path or im_identify_path.

Record
CVE-2020-12641
Weakness
CWE-78
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2020-12641
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2020-12641 9.8

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.

Record
DEBIAN-CVE-2020-12641
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-12641 9.8

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.

Record
UBUNTU-CVE-2020-12641
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBIT-roundcube-2020-12641 No score

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.

Record
BIT-roundcube-2020-12641
Updated
2026-11-02
OSVopenSUSE-SU-2020:1516-1 No score

Security update for roundcubemail

This update for roundcubemail fixes the following issues:

roundcubemail was upgraded to 1.3.15

This is a security update to the LTS version 1.3. (boo#1175135)

  • Security: Fix cross-site scripting (XSS) via HTML messages with malicious svg content [CVE-2020-16145]
  • Security: Fix cross-site scripting (XSS) via HTML messages with malicious math content

From 1.3.14 (boo#1173792 -> CVE-2020-15562)

  • Security: Fix cross-site scripting (XSS) via HTML messages with malicious svg/namespace

From 1.3.13

  • Installer: Fix regression in SMTP test section (#7417)

From 1.3.12

  • Security: Better fix for CVE-2020-12641 (boo#1171148)
  • Security: Fix XSS issue in template object 'username' (#7406)
  • Security: Fix couple of XSS issues in Installer (#7406)
  • Security: Fix cross-site scripting (XSS) via malicious XML attachment

From 1.3.11 (boo#1171148 -> CVE-2020-12641 boo#1171040 -> CVE-2020-12625 boo#1171149 -> CVE-2020-12640)

  • Enigma: Fix compatibility with Mail_Mime >= 1.10.5
  • Fix permissions on some folders created by bin/install-jsdeps.sh script (#6930)
  • Fix bug where inline images could have been ignored if Content-Id header contained redundant spaces (#6980)
  • Fix PHP Warning: Use of undefined constant LOG_EMERGE (#6991)
  • Fix PHP warning: 'array_merge(): Expected parameter 2 to be an array, null given in sendmail.inc (#7003)
  • Security: Fix XSS issue in handling of CDATA in HTML messages
  • Security: Fix remote code execution via crafted 'im_convert_path' or 'im_identify_path' settings
  • Security: Fix local file inclusion (and code execution) via crafted 'plugins' option
  • Security: Fix CSRF bypass that could be used to log out an authenticated user (#7302)

From 1.3.10 (boo#1146286)

  • Managesieve: Fix so 'Create filter' option does not show up when Filters menu is disabled (#6723)
  • Enigma: Fix bug where revoked users/keys were not greyed out in key info
  • Enigma: Fix error message when trying to encrypt with a revoked key (#6607)
  • Enigma: Fix 'decryption oracle' bug [CVE-2019-10740] (#6638)
  • Fix compatibility with kolab/net_ldap3 > 1.0.7 (#6785)
  • Fix bug where bmp images couldn't be displayed on some systems (#6728)
  • Fix bug in parsing vCard data using PHP 7.3 due to an invalid regexp (#6744)
  • Fix bug where bold/strong text was converted to upper-case on html-to-text conversion (6758)
  • Fix bug in rcube_utils::parse_hosts() where %t, %d, %z could return only tld (#6746)
  • Fix bug where Next/Prev button in mail view didn't work with multi-folder search result (#6793)
  • Fix bug where selection of columns on messages list wasn't working
  • Fix bug in converting multi-page Tiff images to Jpeg (#6824)
  • Fix wrong messages order after returning to a multi-folder search result (#6836)
  • Fix PHP 7.4 deprecation: implode() wrong parameter order (#6866)
  • Fix bug where it was possible to bypass the position:fixed CSS check in received messages (#6898)
  • Fix bug where some strict remote URIs in url() style were unintentionally blocked (#6899)
  • Fix bug where it was possible to bypass the CSS jail in HTML messages using :root pseudo-class (#6897)
  • Fix bug where it was possible to bypass href URI check with data:application/xhtml+xml URIs (#6896)

From 1.3.9 (boo#1115718)

  • Fix TinyMCE download location (#6694)
  • Fix bug where a message/rfc822 part without a filename wasn't listed on the attachments list (#6494)
  • Fix handling of empty entries in vCard import (#6564)
  • Fix bug in parsing some IMAP command responses that include unsolicited replies (#6577)
  • Fix PHP 7.2 compatibility in debug_logger plugin (#6586)
  • Fix so ANY record is not used for email domain validation, use A, MX, CNAME, AAAA instead (#6581)
  • Fix so mime_content_type check in Installer uses files that should always be available (i.e. from program/resources) (#6599)
  • Fix missing CSRF token on a link to download too-big message part (#6621)
  • Fix bug when aborting…
Record
openSUSE-SU-2020:1516-1
Updated
2026-11-02
OSVopenSUSE-SU-2022:10148-1 No score

Security update for roundcubemail

This update for roundcubemail fixes the following issues:

roundcubemail was updated to 1.5.3

  • Enigma: Fix initial synchronization of private keys
  • Enigma: Fix double quoted-printable encoding of pgp-signed messages with no attachments (#8413)
  • Fix various PHP8 warnings (#8392)
  • Fix mail headers injection via the subject field on mail compose (#8404)
  • Fix bug where small message/rfc822 parts could not be decoded (#8408)
  • Fix setting HTML mode on reply/forward of a signed message (#8405)
  • Fix handling of RFC2231-encoded attachment names inside of a message/rfc822 part (#8418)
  • Fix bug where some mail parts (images) could have not be listed as attachments (#8425)
  • Fix bug where attachment icons were stuck at the top of the messages list in Safari (#8433)
  • Fix handling of message/rfc822 parts that are small and are multipart structures with a single part (#8458)
  • Fix bug where session could time out if DB and PHP timezone were different (#8303)
  • Fix bug where DSN flag state wasn't stored with a draft (#8371)
  • Fix broken encoding of HTML content encapsulated in a RTF attachment (#8444)
  • Fix problem with aria-hidden=true on toolbar menus in the Elastic skin (#8517)
  • Fix bug where title tag content was displayed in the body if it contained HTML tags (#8540)
  • Fix support for DSN specification without host e.g. pgsql:///dbname (#8558)

update to 1.5.2

  • OAuth: pass 'id_token' to 'oauth_login' plugin hook (#8214)
  • OAuth: fix expiration of short-lived oauth tokens (#8147)
  • OAuth: fix relative path to assets if /index.php/foo/bar url is used (#8144)
  • OAuth: no auto-redirect on imap login failures (#8370)
  • OAuth: refresh access token in 'refresh' plugin hook (#8224)
  • Fix so folder search parameters are honored by subscriptions_option plugin (#8312)
  • Fix password change with Directadmin driver (#8322, #8329)
  • Fix so css files in plugins/jqueryui/themes will be minified too (#8337)
  • Fix handling of unicode/special characters in custom From input (#8357)
  • Fix some PHP8 compatibility issues (#8363)
  • Fix chpass-wrapper.py helper compatibility with Python 3 (#8324)
  • Fix scrolling and missing Close button in the Select image dialog in Elastic/mobile (#8367)
  • Security: fix cross-site scripting (XSS) via HTML messages with malicious CSS content
  • added Suggests: php-sqlite

  • use the virtual provides from each PHP module, to allow the installation of roundcubemail with various PHP versions. The only problem, we are currently facing is the automatic enablement of the PHP apache module during post-installation: Trying to evaluate the correct PHP module now during post as well, which should eleminate the pre-definition of the required PHP-Version during build completely. See https://build.opensuse.org/request/show/940859 for the initial discussion.

update to 1.5.1

  • Fix importing contacts with no email address (#8227)
  • Fix so session's search scope is not used if search is not active (#8199)
  • Fix some PHP8 warnings (#8239)
  • Fix so dark mode state is retained after closing the browser (#8237)
  • Fix bug where new messages were not added to the list on refresh if skip_deleted=true (#8234)
  • Fix colors on 'Show source' page in dark mode (#8246)
  • Fix handling of dark_mode_support:false setting in skins meta.json - also when devel_mode=false (#8249)
  • Fix database initialization if db_prefix is a schema prefix (#8221)
  • Fix undefined constant error in Installer on Windows (#8258)
  • Fix installation/upgrade on MySQL 5.5 - Index column size too large (#8231)
  • Fix regression in setting of contact listing name (#8260)
  • Fix bug in Larry skin where headers toggle state was reset on full page preview (#8203)
  • Fix bug where \u200b characters were added into the recipient input preventing mail delivery (#8269)
  • Fix charset conversion errors on PHP < 8 for charsets not supported by mbstring (#8252)
  • Fix bug where adding a contact to trusted senders via 'Always allow from...' button didn't work (#8264,…
Record
openSUSE-SU-2022:10148-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11303-1 No score

roundcubemail-1.4.11-1.3 on GA media

These are all security issues fixed in the roundcubemail-1.4.11-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11303-1
Updated
2026-11-02
OSVUSN-5182-1 No score

roundcube vulnerabilities

It was discovered that Roundcube Webmail allowed JavaScript code to be present in the CDATA of an HTML message. A remote attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-12625)

It was discovered that Roundcube Webmail incorrectly processed login and logout POST requests. An attacker could possibly use this issue to launch a cross-site request forgery (CSRF) attack and force an authenticated user to be logged out. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-12626)

It was discovered that Roundcube Webmail incorrectly processed new plugin names in rcube_plugin_api.php. An attacker could possibly use this issue to obtain sensitive information from local files or to execute arbitrary code. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-12640)

It was discovered that Roundcube Webmail did not sanitize shell metacharacters recovered from variables in its configuration settings. An attacker could possibly use this issue to execute arbitrary code in the server. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-12641)

It was discovered that Roundcube Webmail incorrectly sanitized characters in the username template object. An attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-13964)

It was discovered that Roundcube Webmail allowed preview of text/html content. A remote attacker could possibly use this issue to send a malicious XML attachment via an email message and execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-13965)

Andrea Cardaci discovered that Roundcube Webmail did not properly sanitize HTML special characters when dealing with HTML messages that contained an SVG element in the XML namespace. A remote attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-15562)

Lukasz Pilorz discovered that Roundcube Webmail did not properly sanitize HTML special characters when dealing with HTML messages that contained SVG documents. A remote attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-16145)

Alex Birnberg discovered that Roundcube Webmail incorrectly sanitized characters in plain text e-mail messages that included link reference elements. A remote attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-35730)

It was discovered that Roundcube Webmail did not properly sanitize HTML special characters in warning messages that contained an attachment's filename extension. A remote attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2021-44025)

It was discovered that Roundcube Webmail incorrectly managed session variables related to search functionalities. A remote attacker could possibly use this issue to execute a SQL injection attack. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2021-44026)

It was discovered that Roundcube Webmail did not properly sanitize HTML special characters when dealing with HTML messages that contained CSS content. A remote attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 18.04 ESM, Ubuntu 20.04 ESM and Ubuntu 22.04 ESM. (CVE-2021-46144)

Record
USN-5182-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
roundcube
Bitnami
1.2.0 up to 1.2.10, 1.3.0 up to 1.3.11, 1.4.0 up to 1.4.4
1.2.101.3.111.4.4
roundcube
Debian:12
before 1.4.4+dfsg.1-1
1.4.4+dfsg.1-1
roundcube
Debian:13
before 1.4.4+dfsg.1-1
1.4.4+dfsg.1-1
roundcube
Debian:14
before 1.4.4+dfsg.1-1
1.4.4+dfsg.1-1
roundcube
Ubuntu:Pro:16.04:LTS
before 1.2~beta+dfsg.1-0ubuntu1+esm2, plus listed versions
1.1.1+dfsg.1-21.1.2+dfsg.1-51.1.3+dfsg.1-11.1.4+dfsg.1-11.2~beta+dfsg.1-0ubuntu11.2~beta+dfsg.1-0ubuntu1+esm1
1.2~beta+dfsg.1-0ubuntu1+esm2
roundcube
Ubuntu:Pro:18.04:LTS
before 1.3.6+dfsg.1-1ubuntu0.1~esm2, plus listed versions
1.3.0+dfsg.1-11.3.1+dfsg.1-11.3.3+dfsg.1-11.3.3+dfsg.1-21.3.6+dfsg.1-11.3.6+dfsg.1-1ubuntu0.1~esm1
1.3.6+dfsg.1-1ubuntu0.1~esm2
roundcube
Ubuntu:Pro:20.04:LTS
before 1.4.3+dfsg.1-1ubuntu0.1~esm1, plus listed versions
1.3.8+dfsg.1-21.3.10+dfsg.1-11.4.1+dfsg.1-21.4.2+dfsg.1-11.4.2+dfsg.1-21.4.3+dfsg.1-1
1.4.3+dfsg.1-1ubuntu0.1~esm1
roundcube
Ubuntu:Pro:20.04:LTS
before 1.4.3+dfsg.1-1ubuntu0.1~esm2, plus listed versions
1.3.8+dfsg.1-21.3.10+dfsg.1-11.4.1+dfsg.1-21.4.2+dfsg.1-11.4.2+dfsg.1-21.4.3+dfsg.1-11.4.3+dfsg.1-1ubuntu0.1~esm1
1.4.3+dfsg.1-1ubuntu0.1~esm2
roundcube
Ubuntu:Pro:22.04:LTS
before 1.5.0+dfsg.1-2ubuntu0.1~esm1, plus listed versions
1.4.11+dfsg.1-41.5.0+dfsg.1-2
1.5.0+dfsg.1-2ubuntu0.1~esm1
roundcubemail
SUSE:Package Hub 15 SP1
before 1.3.15-bp152.4.3.1
1.3.15-bp152.4.3.1
Show 8 moreShow less
Affected packages
PackageAffectedFixed
roundcubemail
SUSE:Package Hub 15 SP2
before 1.3.15-bp152.4.3.1
1.3.15-bp152.4.3.1
roundcubemail
openSUSE:Leap 15.1
before 1.3.15-bp152.4.3.1
1.3.15-bp152.4.3.1
roundcubemail
openSUSE:Leap 15.2
before 1.3.15-bp152.4.3.1
1.3.15-bp152.4.3.1
roundcubemail
SUSE:Package Hub 15 SP3
before 1.5.3-bp154.2.3.1
1.5.3-bp154.2.3.1
roundcubemail
SUSE:Package Hub 15 SP4
before 1.5.3-bp154.2.3.1
1.5.3-bp154.2.3.1
roundcubemail
openSUSE:Leap 15.3
before 1.5.3-bp154.2.3.1
1.5.3-bp154.2.3.1
roundcubemail
openSUSE:Leap 15.4
before 1.5.3-bp154.2.3.1
1.5.3-bp154.2.3.1
roundcubemail
openSUSE:Tumbleweed
before 1.4.11-1.3
1.4.11-1.3

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubmbadanoiu/CVE-2020-126412024-04-08
PoC in GitHubmbadanoiu/MAL-0042024-04-13
NucleiRoundcube Webmail - Command Injection

History

History
WhenChangedSources
2026-11-03exploitation, exploits
2026-11-02createdCVE List, EUVD, GitHub Advisories, CISA KEV, Nuclei, NVD, OSV, PoC in GitHub

References

Show 43 moreShow less
This page doesn't list everything

Left out here: the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open