CVE-2015-8994: php
Vulnerability summary
CVE-2015-8994 is a high (CVSS 7.5) vulnerability in php. EPSS estimates a 2.94% chance of exploitation in the next 30 days, higher than 87.1% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 02-03-2017PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 2 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.94%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.94% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (ma.ttias.be)
Maturity: unknown
Exploit Reference (bugs.php.net)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse6 products
- php5&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 5.5.14-99.1
- php5&distro=SUSE Linux Enterprise Software Development Kit 12 SP1< 5.5.14-99.1
- php5&distro=SUSE Linux Enterprise Software Development Kit 12 SP2< 5.5.14-99.1
- php7&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 7.0.7-38.1
- php7&distro=SUSE Linux Enterprise Software Development Kit 12 SP1< 7.0.7-38.1
Php1 product
- php≥ 5.0.0, ≤ 5.6.29 | ≥ 7.0.0, < 7.0.14
Ubuntu1 product
- php5< 5.5.9+dfsg-1ubuntu4.22
3 vendors · 8 products
References
14 links- ma.ttias.be/a-better-way-to-run-php-fpm/X Refsource MISCExploitTechnical DescriptionThird Party Advisory