SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2018-19518

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…

EXPLOIT ✓HIGH 7.5EPSS 96.1%

Does this matter?

EPSS puts the probability of exploitation in the next 30 days at 96.1%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.

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.

CVSS 3.1
7.5 HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
96.11% probability · 100th percentile
Public exploits
1 in Exploit-DB · verified · first 29 November 2018
CISA KEV
Not listed
Weakness
CWE-88
Affected
php/php · debian/debian linux · uw-imap project/uw-imap · canonical/ubuntu linux
Source
cve@mitre.org
EPSS trend
0%50%100%27 October 2026: 96.11%27 October 202627 October 2026

EPSS 96.1% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-45914source ↗PHP imap_open - Remote Code Execution (Metasploit)linux · Metasploitremote29 November 2018yes

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.