{"id":"CVE-2016-9920","aliases":["DEBIAN-CVE-2016-9920","DLA-737-1","EUVD-2016-10707","GHSA-f59r-7mfp-ww98","MGASA-2016-0430","UBUNTU-CVE-2016-9920"],"status":"published","title":"steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is...","description":"steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the sendmail program is enabled, does not properly restrict the use of custom envelope-from addresses on the sendmail command line, which allows remote authenticated users to execute arbitrary code via a modified HTTP request that sends a crafted e-mail message.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.05646,"percentile":0.93014,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-284"],"published":"2016-12-08T00:00:00Z","modified":"2026-10-24T10:31:03Z","exploits":[{"source":"pocgithub","id":"t0kx/exploit-CVE-2016-9920","title":"t0kx/exploit-CVE-2016-9920","date":"2017-01-06","url":"https://github.com/t0kx/exploit-CVE-2016-9920"}],"fixes":[{"ecosystem":"Debian:12","package":"roundcube","fixed_in":["1.2.3+dfsg.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"roundcube","fixed_in":["1.2.3+dfsg.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"roundcube","fixed_in":["1.2.3+dfsg.1-1"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"roundcube","fixed_in":["0.7.2-9+deb7u5"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"roundcubemail","fixed_in":["1.0.9-1.1.mga5"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"roundcube","fixed_in":["1.2~beta+dfsg.1-0ubuntu1+esm7"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"roundcube","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3+dfsg.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"roundcube","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3+dfsg.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"roundcube","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3+dfsg.1-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"roundcube","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.2-9+deb7u5"}]}],"versions":["0.7.2-9","0.7.2-9+deb7u1","0.7.2-9+deb7u2","0.7.2-9+deb7u3","0.7.2-9+deb7u4"]},{"source":"osv","ecosystem":"Mageia:5","package":"roundcubemail","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.9-1.1.mga5"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"roundcube","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2~beta+dfsg.1-0ubuntu1+esm7"}]}],"versions":["1.1.1+dfsg.1-2","1.1.2+dfsg.1-5","1.1.3+dfsg.1-1","1.1.4+dfsg.1-1","1.2~beta+dfsg.1-0ubuntu1","1.2~beta+dfsg.1-0ubuntu1+esm1","1.2~beta+dfsg.1-0ubuntu1+esm2","1.2~beta+dfsg.1-0ubuntu1+esm3","1.2~beta+dfsg.1-0ubuntu1+esm4","1.2~beta+dfsg.1-0ubuntu1+esm5","1.2~beta+dfsg.1-0ubuntu1+esm6"]}],"products":[{"vendor":"roundcube","product":"webmail"}],"references":[{"url":"https://blog.ripstech.com/2016/roundcube-command-execution-via-email/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"http://www.securityfocus.com/bid/94858","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2016/12/08/10","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","report"]},{"url":"https://roundcube.net/news/2016/11/28/updates-1.2.3-and-1.1.7-released","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Vendor Advisory","advisory","report"]},{"url":"https://security.gentoo.org/glsa/201612-44","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9920"},{"url":"https://blog.ripstech.com/2016/roundcube-command-execution-via-email"},{"url":"https://github.com/advisories/GHSA-f59r-7mfp-ww98"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-9920","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2016-0430.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19920","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2016/12/08/17","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-9920","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-9920","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8132-1","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2016-9920","description":"steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the sendmail program is enabled, does not properly restrict the use of custom envelope-from addresses on the sendmail command line, which allows remote authenticated users to execute arbitrary code via a modified HTTP request that sends a crafted e-mail message.","status":"published","published":"2016-12-08T18:00:00Z","modified":"2024-08-06T03:07:31.413Z","updated_at":"2026-11-02T14:33:32.103757Z"}],"euvd":[{"id":"EUVD-2016-10707","description":"steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the sendmail program is enabled, does not properly restrict the use of custom envelope-from addresses on the sendmail command line, which allows remote authenticated users to execute arbitrary code via a modified HTTP request that sends a crafted e-mail message.","status":"published","published":"2016-12-08T18:00:00Z","modified":"2024-08-06T03:07:31Z","updated_at":"2026-11-03T02:22:25.833438Z"}],"ghsa":[{"id":"GHSA-f59r-7mfp-ww98","title":"steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is...","description":"steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the sendmail program is enabled, does not properly restrict the use of custom envelope-from addresses on the sendmail command line, which allows remote authenticated users to execute arbitrary code via a modified HTTP request that sends a crafted e-mail message.","status":"published","published":"2022-05-17T02:36:23Z","modified":"2025-04-12T13:08:05Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T15:01:30.991417Z"}],"nvd":[{"id":"CVE-2016-9920","description":"steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the sendmail program is enabled, does not properly restrict the use of custom envelope-from addresses on the sendmail command line, which allows remote authenticated users to execute arbitrary code via a modified HTTP request that sends a crafted e-mail message.","status":"published","published":"2016-12-08T18:59:00.2Z","modified":"2026-06-17T00:56:47.207Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:03:32.79141Z"}],"osv":[{"id":"CVE-2016-9920","description":"steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the sendmail program is enabled, does not properly restrict the use of custom envelope-from addresses on the sendmail command line, which allows remote authenticated users to execute arbitrary code via a modified HTTP request that sends a crafted e-mail message.","status":"published","published":"2016-12-08T18:59:00.2Z","modified":"2026-10-24T10:31:03.080791695Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:03.472693Z"},{"id":"DEBIAN-CVE-2016-9920","description":"steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the sendmail program is enabled, does not properly restrict the use of custom envelope-from addresses on the sendmail command line, which allows remote authenticated users to execute arbitrary code via a modified HTTP request that sends a crafted e-mail message.","status":"published","published":"2016-12-08T18:59:00.2Z","modified":"2026-09-22T07:02:47.495642164Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:28.207321Z"},{"id":"UBUNTU-CVE-2016-9920","description":"steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the sendmail program is enabled, does not properly restrict the use of custom envelope-from addresses on the sendmail command line, which allows remote authenticated users to execute arbitrary code via a modified HTTP request that sends a crafted e-mail message.","status":"published","published":"2016-12-08T18:59:00Z","modified":"2026-03-31T17:54:12.106065Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:13.356796Z"},{"id":"DLA-737-1","title":"roundcube - security update","status":"published","published":"2016-12-08T00:00:00Z","modified":"2026-03-09T02:10:16.761204Z","updated_at":"2026-11-02T15:46:13.207219Z"},{"id":"MGASA-2016-0430","title":"Updated roundcubemail packages fix security vulnerability","description":"Users can execute commands on the server by writing e-mails, due to\ninsufficient sanitation of the from field when calling PHP's mail()\nfunction (CVE-2016-9920).\n\nNote that only roundcubemail installations that don't have an SMTP\nserver configured for mail delivery are affected.\n","status":"published","published":"2016-12-29T23:39:37Z","modified":"2026-04-16T06:24:08.466460536Z","updated_at":"2026-11-02T15:49:40.103088Z"}]}}
