8.5
CWE
88
Advisory Published
CVE Published
Updated

CVE-2018-19518

First published: Sun Nov 25 2018(Updated: )

Fixed bug (imap_open allows to run arbitrary shell commands via mailbox parameter). (CVE-2018-19518)

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
ubuntu/php-imap<5.4.6-0ubuntu5.1
5.4.6-0ubuntu5.1
ubuntu/php7.0<7.0.33
7.0.33
ubuntu/php7.0<7.0.33-0ubuntu0.16.04.1
7.0.33-0ubuntu0.16.04.1
ubuntu/php7.2<7.2.15-0ubuntu0.18.04.1
7.2.15-0ubuntu0.18.04.1
ubuntu/php7.2<7.2.15-0ubuntu0.18.20.1
7.2.15-0ubuntu0.18.20.1
ubuntu/php7.2<7.2.15-0ubuntu2
7.2.15-0ubuntu2
ubuntu/php7.2<7.2.13
7.2.13
ubuntu/php7.3<7.3.0
7.3.0
ubuntu/uw-imap<8:2007
8:2007
ubuntu/uw-imap<8:2007
8:2007
ubuntu/uw-imap<8:2007
8:2007
ubuntu/uw-imap<8:2007
8:2007
ubuntu/uw-imap<8:2007
8:2007
debian/uw-imap
8:2007f~dfsg-7
PHP<7.0.33
7.0.33
PHP>=5.6.0<=5.6.38
PHP>=7.0.0<=7.0.32
PHP>=7.1.0<=7.1.24
PHP>=7.2.0<=7.2.12
Debian=8.0
Debian=9.0
UW-IMAP=2007f
Ubuntu=16.04
Ubuntu=18.04
Ubuntu=19.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2018-19518?

    CVE-2018-19518 has a high severity rating due to its ability to execute arbitrary shell commands.

  • How do I fix CVE-2018-19518?

    To fix CVE-2018-19518, upgrade to the appropriate remedied versions of affected packages including PHP and UW-IMAP.

  • Which versions are affected by CVE-2018-19518?

    Affected versions include various PHP versions before 5.6.39, 7.0.x before 7.0.33, and several other specified UW-IMAP versions.

  • What products are impacted by CVE-2018-19518?

    CVE-2018-19518 impacts products such as PHP and UW-IMAP when using the imap_open function.

  • Is CVE-2018-19518 a remote code execution vulnerability?

    Yes, CVE-2018-19518 allows remote attackers to execute arbitrary shell commands, constituting a remote code execution vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203