CVE-2018-14884: Null Pointer Dereference

Published Nov 17, 2017
·
Updated

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

10 affected componentsFixes available
redhat/rh-php71-php<0:7.1.30-1.el7
0:7.1.30-1.el7
redhat/php<7.0.27
7.0.27
redhat/php<7.1.13
7.1.13
redhat/php<7.2.1
7.2.1
PHP PHP>=7.0.0<7.0.27
PHP PHP>=7.1.0<7.1.13
PHP PHP>=7.2.0<7.2.1
NetApp Storage Automation Store
PHP PHP<7.0.27
7.0.27
alpine/php7<7.1.29-r0
7.1.29-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/rh-php71-php to a version that resolves this vulnerability.

    Fixed in 0:7.1.30-1.el7
  2. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.0.27
  3. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.1.13
  4. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.2.1
  5. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.0.27
  6. Upgrade

    Upgrade alpine/php7 to a version that resolves this vulnerability.

    Fixed in 7.1.29-r0
  7. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.1.13
  8. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.2.1

Event History

Nov 17, 2017
CVE Published
12:00 AM
Aug 3, 2018
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
Description
Data Sourced
via OSV·01:29 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203