CVE-2018-14884 json
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.
published 2018-08-03 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-6766
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.2%
- EPSS 3.2% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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 http_header_value in ext/standard/http_fopen_wrapper.c can be a NULL value that is mishandled in an atoi call.
Patch / fix
- php php 7.0.27, 7.1.13, 7.2.1
- rh-php71-php RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-gd RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-cli RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-dba RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-dbg RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-fpm RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-gmp RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
- rh-php71-php-pdo RHEL 3 SOFTWARE_COLLECTIONS 7.1.30-1.el7
red hat advisories RHSA-2019:2519
- php7 Alpine 3.7 7.1.29-r0
alpine advisories ALPINE-CVE-2018-14884
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- bugs.php.net/bug.php?id=75535 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-14884 updated cvss 7.5
php: Mishandled http_header_value in an atoi() call in http_fopen_wrapper.c
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 morefixed: vendor fix RHSA-2019:2519
-
Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat Enterprise Linux 8 php, libzip, php-gd, php-cli, php-dba, php-dbg, +30 more Red Hat Software Collections rh-php70-php, rh-php72-php, rh-php70-php-gd, rh-php72-php-gd, rh-php70-php-cli, rh-php70-php-dba, +52 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.19% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.php.net https://bugs.php.net/bug.php?id=75535 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
bugs.php.net
/bug.php?id=75535
exploit, issue-tracking, patch, vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:2519
vendor-advisory
-
php.net
/ChangeLog-7.php
vendor-advisory
-
security.netapp.com
/advisory/ntap-20181107-0003/
third-party-advisory
Sources
- CVE List CVE-2018-14884
- NVD CVE-2018-14884
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.