CVE-2015-6835 in Php
The session deserializer in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 mishandles multiple php_var_unserialize calls, which allow remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via crafted session content.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Php | Php | 5.5.0 5.5.1 5.5.2 5.5.3 5.5.4 5.5.5+37 more5.5.6 5.5.7 5.5.8 5.5.9 5.5.10 5.5.11 5.5.12 5.5.13 5.5.14 5.5.15 5.5.16 5.5.17 5.5.18 5.5.19 5.5.20 5.5.21 5.5.22 5.5.23 5.5.24 5.5.25 5.5.26 5.5.27 5.5.28 5.6.0 5.6.1 5.6.2 5.6.3 5.6.4 5.6.5 5.6.6 5.6.7 5.6.8 5.6.9 5.6.10 5.6.11 5.6.12 ≤ 5.4.44 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
The session deserializer in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 mishandles multiple php_var_unserialize calls, which allow remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via crafted session content.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-6835 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-189911-C |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2016-05-16 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A critical vulnerability in PHP's session deserializer allows remote attackers to execute arbitrary code or cause a denial of service through crafted session content.
The vulnerability stems from the mishandling of multiple php_var_unserialize calls in the session deserializer of PHP versions prior to 5.4.45, 5.5.29, and 5.6.13. Attackers can exploit this by sending specially crafted session data to the server, leading to arbitrary code execution or a use-after-free condition.
Questions
What is CVE-2015-6835?
A critical vulnerability in PHP's session deserializer allows remote attackers to execute arbitrary code or cause a denial of service through crafted session content.
What is the CVSS score for CVE-2015-6835?
CVE-2015-6835 has CVSS 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 34.7%.
Is CVE-2015-6835 actively exploited?
Public exploit available for CVE-2015-6835. Exploitation risk elevated.
How do I remediate CVE-2015-6835?
Priority: IMMEDIATE.
What systems are affected by CVE-2015-6835?
CVE-2015-6835 affects Php Php.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Php","product":"Php","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.