Am I affected?
CVE-2015-8994
An issue was discovered in PHP 5.x and 7.x, when the configuration uses apache2handler/mod_php or php-fpm with OpCache enabled. With 5.x after 5.6.28 or 7.x after 7.0.13, the issue is resolved in a non-default configuration with the opcache.validate_permission=1 setting. The vulnerability details are as follows. In PHP SAPIs where PHP interpreters share a common parent process, Zend OpCache creates a shared memory object owned by the common parent during initialization. Child PHP processes inherit the SHM descriptor, using it to cache and retrieve compiled script bytecode ("opcode" in PHP jargon). Cache keys vary depending on configuration, but filename is a central key component, and compiled opcode can generally be run if a script's filename is known or can be guessed. Many common shared-hosting configurations change EUID in child processes to enforce privilege separation among hosted users (for example using mod_ruid2 for the Apache HTTP Server, or php-fpm user settings). In these scenarios, the default Zend OpCache behavior defeats script file permissions by sharing a single SHM cache among all child PHP processes. PHP scripts often contain sensitive information: Think of CMS configurations where reading or running another user's script usually means gaining privileges to the CMS database.
Not in the CISA KEV catalog as of the last sync. That means no confirmed exploitation is listed there, not that it is safe.
Exploit probability (FIRST EPSS): 2.94% chance of exploitation activity in the next 30 days (top 13% of all scored CVEs), scored 2026-11-23. EPSS is a likelihood estimate, not proof of attacks.
Check your PHP version
Fixed versions by branch
| Branch | Affected (NVD) | Fixed in |
|---|---|---|
| PHP 7.0 | 7.0.0 (including) to 7.0.14 (excluding) | 7.0.14 |
| PHP 5.6 | 5.0.0 (including) to 5.6.29 (including) | not stated |
"Fixed in" is shown only when the source gives an exact upper bound. Any later patch in the same branch also has the fix. Linux distributions (Ubuntu, Debian, RHEL) often backport fixes without changing the PHP version number.
Related CVEs
Other PHP CVEs that NVD lists for the same branches.
- CVE-2016-7478 High 7.5 · PHP 7.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0 · 2017-01-11
- CVE-2018-19395 High 7.5 · PHP 7.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0 · 2018-11-20
- CVE-2018-19396 High 7.5 · PHP 7.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0 · 2018-11-20
- CVE-2018-19520 High 8.8 · PHP 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0 · 2018-11-25
- CVE-2014-9427 High 7.5 · PHP 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0 · 2015-01-03
- CVE-2011-4718 Medium 6.8 · PHP 5.5, 5.4, 5.3, 5.2, 5.1, 5.0 · 2013-08-13
Questions
- Which PHP versions are affected by CVE-2015-8994?
- NVD lists these affected ranges: 7.0.0 (including) to 7.0.14 (excluding); 5.0.0 (including) to 5.6.29 (including).
- Which PHP version fixes CVE-2015-8994?
- According to NVD, the fix is in PHP 7.0.14 (upgrade to that release or any later patch in the same branch).
- Does a version check prove my server is safe from CVE-2015-8994?
- No. The SAPI, web server, operating system, loaded extensions and configuration change whether a bug can be reached, and Linux distributions often backport fixes without changing the upstream version number.
Sources: CVE-2015-8994 on NIST NVD. NVD data synced 2026-11-24T03:47:46.548Z. See all PHP CVEs in the CVE explorer.