CVE-2026-126714
Partially overwritten session files can lead to remote code execution
Partially overwritten session files can lead to remote code execution. The 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. This issue affects PHP versions 8.2.* before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: unknown. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 9.2 · published by phpCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T18:35:58.280Z
CVSS 4.0 · 9.2 · published by Ubuntu SecurityCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T18:19:57.968Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T18:35:58.280Z | CVE Program |
| epss | unknown | unknown | unknown |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T18:35:58.280Z | CVE Program |
| lifecycle | verified | 2026-11-19T18:35:58.280Z | CVE Program |
Affected versions and configuration
PHP Group PHP; modules: ext-session; default status: unaffected: 8.2.0 to < 8.2.36 [affected; scheme: semver]; 8.3.0 to < 8.3.37 [affected; scheme: semver]; 8.4.0 to < 8.4.28 [affected; scheme: semver]; 8.5.0 to < 8.5.13 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
],
"vendor": "PHP Group",
"modules": [
"ext-session"
],
"product": "PHP",
"versions": [
{
"status": "affected",
"version": "8.2.0",
"lessThan": "8.2.36",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.3.0",
"lessThan": "8.3.37",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.4.0",
"lessThan": "8.4.28",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.5.0",
"lessThan": "8.5.13",
"versionType": "semver"
}
],
"packageURL": "pkg:software-id/php.net/php",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-126714",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-11-19T16:22:25.621005Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-11-19T16:54:43.906Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/semgrep/detection-scripts/pull/14"
},
{
"url": "https://depthfirst.com/phpAfterShell"
},
{
"url": "https://bugzilla.suse.com/show_bug.cgi?id=1290690"
},
{
"url": "https://ubuntu.com/security/CVE-2026-126714"
}
],
"x_generator": {
"engine": "ADPogram 0.0.1"
},
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2026-11-19T17:49:33.492Z"
}
}
]
}Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "php8.3",
"debian": "https://tracker.debian.org/pkg/php8.3",
"source": "https://ubuntu.com/security/cve?package=php8.3",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=php8.3",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- Ubuntu SecurityConsulted: 2026-11-19T18:19:57.968ZArchived source JSON
Source publication: 2026-11-19T14:00:00.000Z
Source modification: 2026-11-19T15:50:16.018ZDocument fingerprint
b06d3edd3c5fdfcf7c6ba746f4dacdc59af8e8fe4a6d33570216236cf73fffc7 - CVE ProgramConsulted: 2026-11-19T18:35:58.280ZArchived source JSON
Source publication: 2026-11-19T14:43:19.430Z
Source modification: 2026-11-19T17:49:33.492ZDocument fingerprint
f5eddeb454c7d5a045e5a0b9b9343647bdf4daecbd36dbb4d4bd5181f4f6aa0b - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence