CVE-2018-14884: Null Pointer Dereference
An issue was discovered in PHP 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1. Inappropriately parsing an HTTP response leads to a segmentation fault because httpheadervalue in ext/standard/httpfopenwrapper.c can be a NULL value that is mishandled in an atoi call.
Other sources
Fixed bug (Inappropriately parsing HTTP response leads to PHP segment fault). (CVE-2018-14884)
— PHP
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/rh-php71-phpto a version that resolves this vulnerability.Fixed in 0:7.1.30-1.el7 - Upgrade
Upgrade
redhat/phpto a version that resolves this vulnerability.Fixed in 7.0.27 - Upgrade
Upgrade
redhat/phpto a version that resolves this vulnerability.Fixed in 7.1.13 - Upgrade
Upgrade
redhat/phpto a version that resolves this vulnerability.Fixed in 7.2.1 - Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 7.0.27 - Upgrade
Upgrade
alpine/php7to a version that resolves this vulnerability.Fixed in 7.1.29-r0 - Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 7.1.13 - Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 7.2.1
Event History
Frequently Asked Questions
What is the severity of CVE-2018-14884?
CVE-2018-14884 has a medium severity rating due to the potential for a segmentation fault leading to application crashes.
How do I fix CVE-2018-14884?
To fix CVE-2018-14884, upgrade to PHP version 7.0.27, 7.1.13, or 7.2.1 or later.
What versions of PHP are affected by CVE-2018-14884?
PHP versions prior to 7.0.27, 7.1.13, and 7.2.1 are affected by CVE-2018-14884.
What causes the vulnerability in CVE-2018-14884?
The vulnerability in CVE-2018-14884 is due to improper parsing of HTTP response headers that can result in a NULL value being mishandled.
Is CVE-2018-14884 a remote exploit vulnerability?
CVE-2018-14884 is not considered a remote exploit vulnerability as it leads to local application crashes instead.