{"id":"CVE-2026-115560","summary":"Session serializer mismatch can lead to remote code execution","details":"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.","aliases":["GHSA-658j-r8rw-q6mx"],"modified":"2026-11-25T01:00:50.685126684Z","published":"2026-11-19T14:42:48.511Z","related":["ALSA-2026:100821","ALSA-2026:100991","ALSA-2026:101276","ALSA-2026:102226","ALSA-2026:102255","ALSA-2026:102261","ALSA-2026:102300","SUSE-SU-2026:5389-1","SUSE-SU-2026:5390-1","SUSE-SU-2026:5398-1","SUSE-SU-2026:5399-1","openSUSE-SU-2026:12618-1"],"database_specific":{"cwe_ids":["CWE-20","CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115560.json","cna_assigner":"php"},"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2026-115560"},{"type":"WEB","url":"https://github.com/murrez/php2shell/blob/a8e24f4efab57f67384909d9408e42a74b973bfb/poc.py#L776-L791"},{"type":"WEB","url":"https://ubuntu.com/security/CVE-2026-115560"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115560.json"},{"type":"ADVISORY","url":"https://github.com/php/php-src/security/advisories/GHSA-658j-r8rw-q6mx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115560"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"0"},{"fixed":"bbc92cfe9a4f00a72bff5766b17842b0425b0050"},{"introduced":"d26068059e83fe40de3430a512471d194119bee0"},{"fixed":"ab4b18847bcc7bd11eaafb557ad8ba43410a4dc8"},{"introduced":"b437f2b32eb364c9496d24abcc734272e5c9c980"},{"fixed":"6c4c8ecd1c66f2eaa7cadc893bb303a0cdf896c1"},{"introduced":"685e99655ae97c667950f7f7d176985958718f56"},{"fixed":"46bcb661df53d9ded93fef239e15707bf7cea2e9"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"8.2.36"}],"source":"AFFECTED_FIELD"},{"strategy":"StandardRange","range":[{"introduced":"8.3.0"},{"fixed":"8.3.37"}],"source":"AFFECTED_FIELD"},{"strategy":"StandardRange","range":[{"introduced":"8.4.0"},{"fixed":"8.4.28"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"8.5.0"},{"fixed":"8.5.13"}]}]}}],"versions":["php-8.3.34","security-audit-2024","POST_PHP7_NSAPI_REMOVAL","PRE_PHP7_NSAPI_REMOVAL","PRE_PHP7_EREG_MYSQL_REMOVALS","PRE_PHP7_REMOVALS","POST_PHP7_REMOVALS","POST_AST_MERGE","PRE_AST_MERGE","POST_64BIT_BRANCH_MERGE","PRE_64BIT_BRANCH_MERGE","POST_PHPNG_MERGE"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-115560.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}