← Search CVEs

CVE-2018-19518

HIGH 7.5 PoC CATALOGUED DETECTION TEMPLATE UPDATED SOURCE DATA

Published 2018-11-25 · Last modified 2024-08-05 · mitre · NVD: Modified

Evidence updated · Checked · PoC catalogue changed 2026-12-01T07:42:00.427Z

Source catalogue and publisher evidence; linked resources have not been executed or independently validated by Vulnpedia.

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.

REPORTED EXPLOITATION

VulnCheck KEV reports exploitation for this CVE. These are source-specific reports; review the details and vendor guidance below.

Exploitation likelihood

96.1%chance of exploitation in 30 days · 100th percentile

○ In CISA KEV● Catalogued PoC

Impact if exploited

7.5CVSS 3.1 · HIGH · NVD

  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh

What an attacker needs

  • ✓Access: Reachable over the network — no local access needed
  • ⚠Privileges: Requires a low-privilege account
  • ✓User interaction: No user interaction needed
  • ⚠Complexity: Needs a race window or specific setup

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

Public PoC or exploit resources are catalogued below.

Catalogue identity matched to the named source. HTTP link checks report catalogue page reachability only. Exploit contents and execution have not been verified by Vulnpedia.

PoC data: JSON

Detection templates

Detection checks are listed separately from PoCs.

Resource commands

nuclei -id CVE-2018-19518 -u https://TARGETDetection template — review its checks and affected versions before use.
searchsploit --cve CVE-2018-19518 && searchsploit -m 45914Fetch the ExploitDB PoC locally; review the code before running it.
curl -s https://vulnpedia.com/cve/CVE-2018-19518/poc.jsonMachine-readable PoC index for this CVE (for automation).

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.

Data snapshot:

Affected

Vendors Php Debian Uw-Imap Project Canonical

Products Php Debian Linux Uw-Imap Ubuntu Linux

Weakness (CWE)

  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References and research data (JSON) · Change history

Vendor product assessments

Showing 32 of 195 vendor product statements; 163 omitted. Read the full vendor advisory.

  • php.src as a component of Red Hat Enterprise Linux 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/php?arch=src

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-cli as a component of Red Hat Enterprise Linux 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/php-cli

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-embedded as a component of Red Hat Enterprise Linux 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/php-embedded

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-imap as a component of Red Hat Enterprise Linux 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/php-imap

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-mysql as a component of Red Hat Enterprise Linux 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/php-mysql

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-process as a component of Red Hat Enterprise Linux 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/php-process

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-soap as a component of Red Hat Enterprise Linux 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/php-soap

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-zts as a component of Red Hat Enterprise Linux 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/php-zts

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php70-php-common as a component of Red Hat Software Collections · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rh-php70-php-common

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php70-php-embedded as a component of Red Hat Software Collections · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rh-php70-php-embedded

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php70-php-gmp as a component of Red Hat Software Collections · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rh-php70-php-gmp

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php70-php-ldap as a component of Red Hat Software Collections · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rh-php70-php-ldap

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php70-php-opcache as a component of Red Hat Software Collections · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rh-php70-php-opcache

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php70-php-pspell as a component of Red Hat Software Collections · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rh-php70-php-pspell

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php70-php-tidy as a component of Red Hat Software Collections · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rh-php70-php-tidy

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php70-php.src as a component of Red Hat Software Collections · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rh-php70-php?arch=src

    • no fix planned: Will not fix
    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-gd as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-gd

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-process as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-process

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • apcu-panel as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/apcu-panel

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-dba as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-dba

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-intl as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-intl

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-pear.src as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-pear?arch=src

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-pecl-xdebug3.src as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-pecl-xdebug3?arch=src

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • php-xml as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/php-xml

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php71-php-devel as a component of Red Hat Software Collections · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rh-php71-php-devel

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php71-php-mbstring as a component of Red Hat Software Collections · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rh-php71-php-mbstring

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php71-php-snmp as a component of Red Hat Software Collections · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rh-php71-php-snmp

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php72-php-common as a component of Red Hat Software Collections · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rh-php72-php-common

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php72-php-gmp as a component of Red Hat Software Collections · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rh-php72-php-gmp

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php72-php-pgsql as a component of Red Hat Software Collections · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rh-php72-php-pgsql

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00
  • rh-php72-php.src as a component of Red Hat Software Collections · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rh-php72-php?arch=src

    Red Hat · CVE-2018-19518 · Updated 2026-11-07T03:38:23+00:00

Unverified PoC candidates

Publisher-linked references and catalogue matches for further research. Candidate links do not establish public PoC availability. Their availability and exploit execution have not been verified by Vulnpedia.

4 candidates

Additional exploitation reports

Source-specific reports, separate from CISA KEV. Repeated observations from one source are not independent confirmations.

  • VulnCheck KEV · 2023-02-14T00:00:00Z

    Source guidance: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

    Source ransomware assessment: Known

    VulnCheck KEV · CVE-2018-19518 · Updated 2023-02-14T00:00:00Z
  • VulnCheck KEV · 2023-02-14T00:00:00ZVulnCheck KEV · CVE-2018-19518

Known Affected Software Configurations

VendorProductVersion range
PhpPhp≥ 5.6.0 and ≤ 5.6.38
PhpPhp≥ 7.0.0 and ≤ 7.0.32
PhpPhp≥ 7.1.0 and ≤ 7.1.24
PhpPhp≥ 7.2.0 and ≤ 7.2.12
DebianDebian Linux8.0
DebianDebian Linux9.0
Uw-Imap ProjectUw-Imap2007f
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux19.04

All CVSS metrics

  • HIGH 7.5 v3.1 · NVD Primary
    CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • HIGH 8.5 v2.0 · NVD Primary
    AV:N/AC:M/Au:S/C:C/I:C/A:C

References

Exploit-tagged references (not proof of a PoC)

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS