{"id":"CVE-2026-126714","aliases":[],"cve":{"records":[{"id":"CVE-2026-126714","source":"php","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-11T16:14:57.329Z","published":"2026-11-19T14:43:19.430Z","modified":"2026-11-22T00:13:05.419Z"}],"publishers":[{"name":"php","role":"CNA","organizationId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","modified":"2026-11-19T19:36:57.788Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-20T14:29:46.786Z"},{"name":"CVE","role":"ADP","organizationId":"af854a3a-2127-422b-91ae-364da2661108","modified":"2026-11-22T00:13:05.419Z"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp","tags":["vendor-advisory"],"source":"php"},{"url":"https://github.com/semgrep/detection-scripts/pull/14","tags":[],"source":"CVE"},{"url":"https://depthfirst.com/phpaftershell","tags":[],"source":"CVE"},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1290690","tags":[],"source":"CVE"},{"url":"https://ubuntu.com/security/CVE-2026-126714","tags":[],"source":"CVE"},{"url":"https://access.redhat.com/security/cve/cve-2026-126714","tags":[],"source":"CVE"}],"weaknesses":[{"id":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","source":"php"},{"id":"CWE-662","description":"CWE-662 Improper Synchronization","source":"php"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-20T04:56:39.377795Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"yes"},{"name":"Technical Impact","value":"total"}]}]},"title":"Partially overwritten session files can lead to remote code execution","titleSource":"php","descriptionSource":"php","description":"Partially overwritten session files can lead to remote code execution.\n\nThe files session save handler, which is the default, writes updated session data into the existing session file without first clearing it. If a write is interrupted, the file can contain the beginning of the new session followed by the end of the old one, and bytes of an ordinary string can later be unserialized as objects. An attacker who can influence the session data, for example through session upload progress, and interrupt a write at a suitable point may inject objects, which can lead to code execution when the application contains a suitable gadget chain. Session data can also be corrupted.\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.","score":9.2,"severity":"critical","published":"2026-11-19T14:43:19.430Z","modified":"2026-11-22T00:13:05.419Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"PHP Group","name":"PHP","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"8.2.36","versionType":"semver"},{"version":"8.3.0","status":"affected","lessThan":"8.3.37","versionType":"semver"},{"version":"8.4.0","status":"affected","lessThan":"8.4.28","versionType":"semver"},{"version":"8.5.0","status":"affected","lessThan":"8.5.13","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:software-id/php.net/php","cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"],"source":"php","url":"https://www.cve.org/CVERecord?id=CVE-2026-126714"}],"remediation":[],"references":["https://github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp","https://github.com/semgrep/detection-scripts/pull/14","https://depthfirst.com/phpaftershell","https://bugzilla.suse.com/show_bug.cgi?id=1290690","https://ubuntu.com/security/CVE-2026-126714","https://access.redhat.com/security/cve/cve-2026-126714"],"sources":[{"name":"CVE","id":"CVE-2026-126714","modified":"2026-11-22T00:13:05.419Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-126714"}],"assessments":[{"source":"php","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2}],"sourceAffected":[],"observedAt":"2026-11-22T00:40:54.990Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T20:15:31.904Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-20T05:45:34.159Z","attemptedAt":"2026-11-20T05:45:34.159Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-20T05:45:34.159Z","attemptedAt":"2026-11-20T05:45:34.159Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-20T05:45:34.175Z","attemptedAt":"2026-11-20T05:45:34.175Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-20T05:45:34.175Z","attemptedAt":"2026-11-20T05:45:34.175Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-126714","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126714","modified":"2026-11-20T05:18:40.297","score":9.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-20T05:45:34.159Z"},{"source":"ENISA EUVD","id":"EUVD-2026-130158","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130158","modified":"Nov 19, 2026, 7:36:57 PM","score":9.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","checkedAt":"2026-11-20T05:45:34.175Z"}],"aiSummary":{"text":"PHP versions before 8.2.36, 8.3.37, 8.4.28, and 8.5.13 may be affected by partially overwritten session files. An attacker with influence over session data and the ability to interrupt a write may inject objects. The impact is uncertain.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-20T05:46:13.278Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-126714"}]}}