--- title: "CVE-2018-19518: University of Washington IMAP Toolkit… | CubePath" description: "University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means…" language: en source: https://cubepath.com/security/cve/CVE-2018-19518 --- # CVE-2018-19518: University of Washington IMAP Toolkit… | CubePath ## Description University of Washington IMAP Toolkit 2007f on UNIX, as used in imap\_open() in PHP and other products, launches an rsh command (by means of the imap\_rimap function in c-client/imap4r1.c and the tcp\_aopen function in osdep/unix/tcp\_unix.c) without preventing argument injection, which might allow remote attackers to execute arbitrary OS commands if the IMAP server name is untrusted input (e.g., entered by a user of a web application) and if rsh has been replaced by a program with different argument semantics. For example, if rsh is a link to ssh (as seen on Debian and Ubuntu systems), then the attack can use an IMAP server name containing a "-oProxyCommand" argument. Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2018-19518) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.96107 (96.1% probability) Percentile 99.9% Scores of Nov 10, 2026 Model v2026.06.15 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [bugs.php.net/bug.php?id=77160](https://bugs.php.net/bug.php?id=77160) - [45914](https://www.exploit-db.com/exploits/45914/) (exploit-db.com) exploit - [\[debian-lts-announce\] 20190301 \[SECURITY\] \[DLA 1700-1\] uw-imap security update](https://lists.debian.org/debian-lts-announce/2019/03/msg00001.html) (lists.debian.org) mailing-list - [security.netapp.com/advisory/ntap-20181221-0004](https://security.netapp.com/advisory/ntap-20181221-0004/) - [1042157](http://www.securitytracker.com/id/1042157) (securitytracker.com) vdb-entry - [DSA-4353](https://www.debian.org/security/2018/dsa-4353) (debian.org) vendor-advisory - [github.com/Bo0oM/PHP\_imap\_open\_exploit/blob/master/exploit.…](https://github.com/Bo0oM/PHP%5Fimap%5Fopen%5Fexploit/blob/master/exploit.php) - [bugs.debian.org/913835](https://bugs.debian.org/913835) - [openwall.com/lists/oss-security/2018/11/22/3](https://www.openwall.com/lists/oss-security/2018/11/22/3) - [git.php.net/?p=php-src.git%3Ba=commit%3Bh=e5bfea64c81ae3481…](https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=e5bfea64c81ae34816479bb05d17cdffe45adddb) - [106018](http://www.securityfocus.com/bid/106018) (securityfocus.com) vdb-entry - [bugs.php.net/bug.php?id=76428](https://bugs.php.net/bug.php?id=76428) - [bugs.debian.org/913775](https://bugs.debian.org/913775) - [bugs.debian.org/913836](https://bugs.debian.org/913836) - [antichat.com/threads/463395](https://antichat.com/threads/463395/#post-4254681) - [bugs.php.net/bug.php?id=77153](https://bugs.php.net/bug.php?id=77153) - [\[debian-lts-announce\] 20181217 \[SECURITY\] \[DLA 1608-1\] php5 security update](https://lists.debian.org/debian-lts-announce/2018/12/msg00006.html) (lists.debian.org) mailing-list - [USN-4160-1](https://usn.ubuntu.com/4160-1/) (usn.ubuntu.com) vendor-advisory - [GLSA-202003-57](https://security.gentoo.org/glsa/202003-57) (security.gentoo.org) vendor-advisory - [\[debian-lts-announce\] 20211229 \[SECURITY\] \[DLA 2866-1\] uw-imap security update](https://lists.debian.org/debian-lts-announce/2021/12/msg00031.html) (lists.debian.org) mailing-list ## Timeline 1. ID reserved Nov 25, 2018 2. Record published Nov 25, 2018 3. Record last updated Aug 5, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:01 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)