CVE-2026-126714

Publication date 19 November 2026

Last updated 25 November 2026


Ubuntu priority

Description

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. This affects the files session save handler, which is PHP's default. The issue is not limited to session upload progress or PHP 8.6.

Status

Package Ubuntu Release Status
php5 26.10 stonking Not in release
26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
14.04 LTS trusty
Fixed in 5.5.9+dfsg-1ubuntu4.29+esm19
php7.0 26.10 stonking Not in release
26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
16.04 LTS xenial
Fixed in 7.0.33-0ubuntu0.16.04.16+esm23
php7.2 26.10 stonking Not in release
26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
18.04 LTS bionic
Fixed in 7.2.24-0ubuntu0.18.04.17+esm15
php7.4 26.10 stonking Not in release
26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Fixed in 7.4.3-4ubuntu2.29+esm6
php8.1 26.10 stonking Not in release
26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Fixed in 8.1.2-1ubuntu2.29
php8.3 26.10 stonking Not in release
26.04 LTS resolute Not in release
24.04 LTS noble
Fixed in 8.3.6-0ubuntu0.24.04.14
22.04 LTS jammy Not in release
php8.5 26.10 stonking
Fixed in 8.5.9-0ubuntu2.2
26.04 LTS resolute
Fixed in 8.5.4-0ubuntu1.6
24.04 LTS noble Not in release
22.04 LTS jammy Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version: CVSS v4.0

Base score 9.2 · Critical

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

References

Related Ubuntu Security Notices (USN)

Other references


Access our resources on patching vulnerabilities