{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-115560",
        "assignerOrgId": "dd77f84a-d19a-4638-8c3d-a322d820ed2b",
        "state": "PUBLISHED",
        "assignerShortName": "php",
        "dateReserved": "2026-10-22T22:24:17.695Z",
        "datePublished": "2026-11-19T14:42:48.511Z",
        "dateUpdated": "2026-11-22T00:27:16.496Z"
    },
    "containers": {
        "cna": {
            "title": "Session serializer mismatch can lead to remote code execution",
            "datePublic": "2026-11-19T00:00:00.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Session serializer mismatch can lead to remote code execution.\n\nSession upload progress, when enabled, can store attacker-controlled data in a session key using the php_binary or php_serialize session serializer. If the same session is later read with the php serializer, because session.serialize_handler is changed at runtime or differs between applications sharing a session store, bytes inside the key can be passed to the unserializer. A remote attacker able to submit a multipart upload can inject objects, which may lead to code execution when the reading application contains a suitable gadget chain, or to session corruption or denial of service.\n\nThis issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>Session serializer mismatch can lead to remote code execution.</p><p>Session upload progress, when enabled, can store attacker-controlled data in a session key using the php_binary or php_serialize session serializer. If the same session is later read with the php serializer, because session.serialize_handler is changed at runtime or differs between applications sharing a session store, bytes inside the key can be passed to the unserializer. A remote attacker able to submit a multipart upload can inject objects, which may lead to code execution when the reading application contains a suitable gadget chain, or to session corruption or denial of service.</p><p>This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.</p>"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "PHP Group",
                    "product": "PHP",
                    "cpes": [
                        "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
                    ],
                    "packageURL": "pkg:software-id/php.net/php",
                    "modules": [
                        "ext-session"
                    ],
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "8.2.36",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "8.3.0",
                            "lessThan": "8.3.37",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "8.4.0",
                            "lessThan": "8.4.28",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "8.5.0",
                            "lessThan": "8.5.13",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "type": "CWE",
                            "cweId": "CWE-20",
                            "description": "CWE-20 Improper Input Validation"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "type": "CWE",
                            "cweId": "CWE-502",
                            "description": "CWE-502 Deserialization of Untrusted Data"
                        }
                    ]
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-586",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-586 Object Injection"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV4_0": {
                        "version": "4.0",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 9.2,
                        "baseSeverity": "CRITICAL",
                        "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/php/php-src/security/advisories/GHSA-658j-r8rw-q6mx",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "source": {
                "advisory": "GHSA-658j-r8rw-q6mx",
                "discovery": "UNKNOWN"
            },
            "credits": [
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Dvir Sasson (ZEST Security)"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Frédéric Le Roch"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Carlos Perez (Lazarus Technology)"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "HarukaKaya"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "nvr0x5"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Katika Mohaseen"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Jackson Tai"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Crain"
                },
                {
                    "lang": "en",
                    "type": "analyst",
                    "value": "Ilija Tovilo"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Arnaud Le Blanc"
                },
                {
                    "lang": "en",
                    "type": "remediation reviewer",
                    "value": "Jakub Zelenka"
                }
            ],
            "x_generator": {
                "engine": "php-security-response"
            },
            "providerMetadata": {
                "orgId": "dd77f84a-d19a-4638-8c3d-a322d820ed2b",
                "shortName": "php",
                "dateUpdated": "2026-11-19T19:36:33.887Z"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-19T00:00:00+00:00",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3",
                                "id": "CVE-2026-115560"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-11-20T04:56:42.040Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2026-11-22T00:27:16.496Z"
                },
                "references": [
                    {
                        "url": "https://access.redhat.com/security/cve/cve-2026-115560"
                    },
                    {
                        "url": "https://ubuntu.com/security/CVE-2026-115560"
                    },
                    {
                        "tags": [
                            "signature"
                        ],
                        "url": "https://github.com/murrez/php2shell/blob/a8e24f4efab57f67384909d9408e42a74b973bfb/poc.py#L776-L791"
                    }
                ],
                "title": "CVE Program Container",
                "x_generator": {
                    "engine": "ADPogram 0.0.1"
                }
            }
        ]
    }
}