CVE-2018-19935: Null Pointer Dereference
ext/imap/phpimap.c in PHP 5.x and 7.x before 7.3.0 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via an empty string in the message argument to the imapmail function.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/php5to a version that resolves this vulnerability.Fixed in 5.6.39-r0 - Upgrade
Upgrade
alpine/php7to a version that resolves this vulnerability.Fixed in 7.1.29-r0
Event History
Frequently Asked Questions
What is the severity of CVE-2018-19935?
CVE-2018-19935 has been classified as a denial of service vulnerability that can result in an application crash.
How do I fix CVE-2018-19935?
To fix CVE-2018-19935, upgrade to PHP version 7.3.0 or later.
Which versions of PHP are affected by CVE-2018-19935?
CVE-2018-19935 affects PHP versions prior to 7.3.0, including 5.x and 7.x versions up to 7.2.14.
What does CVE-2018-19935 exploit?
CVE-2018-19935 exploits the imap_mail function by allowing a denial of service through a NULL pointer dereference.
Is CVE-2018-19935 a local or remote vulnerability?
CVE-2018-19935 is a remote vulnerability that allows attackers to crash the application from a remote location.