Vendors › PHP

CVE-2026-126714

Critical (9.2) EPSS 31.6% PHP · session

Partially overwritten session files can lead to remote code execution

PHP's file-based session handler can leave a session file containing parts of two different serialized sessions if a write is interrupted. An attacker who can influence the session contents and interrupt a replacement write may be able to make PHP deserialize attacker-controlled objects when the session is next opened.

Published2026-11-19
Updated2026-11-19
AffectedPHP versions >= 8.2.0, < 8.2.36; PHP versions >= 8.3.0, < 8.3.37; PHP versions >= 8.4.0, < 8.4.28; PHP versions >= 8.5.0, < 8.5.13
FixUpgrade to 8.2.36, 8.3.37, 8.4.28, 8.5.13 (first fixed release per supported branch).
CVEMesh analysisA vulnerability in PHP's session handler can allow an attacker to execute malicious code on a remote server. The advisory does not state exploitation conditions. To fix this issue, upgrade to PHP version 8.2.36, 8.3.37, 8.4.28, or 8.5.13.
AI-generated — see the vendor advisory for the authoritative text.
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-126714———NVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.