VDB

CVE-2026-126714

CVE-2026-126714 PUBLISHED CVSS 9.2 CRITICAL

Partially overwritten session files can lead to remote code execution

Reported by php · Published November 19, 2026

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 before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php8.2-develAmazon Linux8.2.36-1.amzn2023.0.1
php-pecl-zip-debuginfoerrata.rockylinux.org0:1.22.3-1.module+el8.10.0+1911+f499711e.x86_64, 0:1.22.3-1.module+el8.10.0+1911+f499711e.aarch64, 0:1.22.3-1.module+el8.10.0+1596+477f03f8.x86_64, 0:1.22.3-1.module+el8.10.0+1596+477f03f8.aarch64, 0:1.18.2-1.module+el8.10.0+1912+72767185.x86_64, 0:1.18.2-1.module+el8.10.0+1912+72767185.aarch64, 0:1.18.2-1.module+el8.10.0+1604+6558efc7.x86_64, 0:1.18.2-1.module+el8.10.0+1604+6558efc7.aarch64
php-pecl-xdebug-debugsourceerrata.rockylinux.org0:2.9.5-1.module+el8.10.0+1912+72767185.x86_64, 0:2.9.5-1.module+el8.10.0+1912+72767185.aarch64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.x86_64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.aarch64
php8.3-sodiumAmazon Linux8.3.37-1.amzn2023.0.1
php8.4-xmlAmazon Linux8.4.28-1.amzn2023.0.1
php-pecl-xdebugerrata.rockylinux.org0:2.9.5-1.module+el8.10.0+1912+72767185.x86_64, 0:2.9.5-1.module+el8.10.0+1912+72767185.src, 0:2.9.5-1.module+el8.10.0+1912+72767185.aarch64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.x86_64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.src, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.aarch64
php-8.5Wolfi8.5.13-r0
php8.3-mbstringAmazon Linux8.3.37-1.amzn2023.0.1
php8.3-odbcAmazon Linux8.3.37-1.amzn2023.0.1
php-pecl-rrderrata.rockylinux.org0:2.0.3-1.module+el8.10.0+1911+f499711e.x86_64, 0:2.0.3-1.module+el8.10.0+1911+f499711e.src, 0:2.0.3-1.module+el8.10.0+1605+02e07af7.x86_64, 0:2.0.3-1.module+el8.10.0+1605+02e07af7.src, 0:2.0.3-1.module+el8.10.0+1596+477f03f8.x86_64, 0:2.0.3-1.module+el8.10.0+1596+477f03f8.src, 0:2.0.1-1.module+el8.10.0+1912+72767185.x86_64, 0:2.0.1-1.module+el8.10.0+1912+72767185.src, 0:2.0.1-1.module+el8.10.0+1604+6558efc7.x86_64, 0:2.0.1-1.module+el8.10.0+1604+6558efc7.src, 0:2.0.1-1.module+el8.4.0+414+2e7afcdd.x86_64, 0:2.0.1-1.module+el8.4.0+414+2e7afcdd.src
php8.3-pgsqlAmazon Linux8.3.37-1.amzn2023.0.1
php8.3-ldapAmazon Linux8.3.37-1.amzn2023.0.1

77 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
9.2
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

Affected products

VendorProductVersions
PHP GroupPHP0, 8.3.0, 8.4.0
PHP GroupPHP0, 8.3.0, 8.4.0

Timeline

  • Nov 19, 2026 CVE Published
  • Nov 19, 2026 Coalition ESS Score
  • Nov 19, 2026 PoC Published (46 in total, the first dated here)
  • Nov 19, 2026 CVE Updated
  • Nov 20, 2026 EPSS Score (2 in total, the first dated here)
  • Nov 21, 2026 Distribution Patch (9 in total, the first dated here)
  • Nov 21, 2026 Security Advisory (8 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-126714
vulnetix vdb fixes CVE-2026-126714

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-126714/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›