Skip to content
Vulnerability Memory corruption CVE-2026-126714

PHP fixes phpAfterShell RCE (CVE-2026-126714) and 16 other flaws

PHP released security updates on 19 November 2026 addressing 17 vulnerabilities, including the critical phpAfterShell remote code execution flaw.

Covered by 4 outlets

First reported Summary updated

Read the coverage
Public PoC
Not known
Exploited
No
CVSS
9.2 Critical

What happened

PHP published security updates for 17 vulnerabilities across supported branches, seven rated critical with CVSS 9.2.4

The phpAfterShell flaw (CVE-2026-126714) is a file-based session handling issue that can lead to remote code execution.NVD

The vulnerability arises because PHP's default session handler writes updated data without clearing the file first, so an interrupted write can mix old and new data.NVD

An attacker who can influence session data and interrupt a write may inject objects, leading to code execution if a gadget chain exists.NVD

Who is affected

  • PHP, before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28, 8.5.* before 8.5.13NVD

Is there a public exploit?

Not known None of the sources mentions public exploit code yet.

Exploited in the wild?

Not yet No exploitation in the wild has been observed by Wiz or mentioned in public reporting.4

What to do

  • Update PHP installations to 8.5.13, 8.4.28, 8.3.37, or 8.2.36 (or 8.6.0).4
  • If patching is delayed, disable session upload progress by setting session.upload_progress.enabled = 0 in php.ini.4

For bug hunters

The bug class is a deserialisation issue arising from non-atomic file writes in PHP's default session handler. In bug bounty programs, similar flaws can appear in applications that use file-based sessions and allow user-controlled session data, such as through upload progress or large strings. Look for ways to interrupt session writes and inject serialised objects, and check for gadget chains in the codebase.

What to test

  • Test if session upload progress is enabled and can be used to control session file contents.
  • Attempt to interrupt session writes during file uploads to create partially overwritten session files.
  • Check for deserialisation gadget chains in the application that could be triggered via session data.
  • Review session handling configuration for non-default serializers or shared session stores.

The Memory corruption lesson Every Memory corruption report

Written by bugbounty.wiki with AI from the 4 outlets below. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.

Coverage

5 articles, oldest first. Each headline opens the outlet's own article.

  1. 1
  2. 2
  3. 3

    Infosecurity Magazine

    PHP Releases Patches to Fix 18 Vulnerabilities
    “The PHP Foundation has released security patches for a new set of 18 vulnerabilities, seven of which are marked critical.”
  4. 4

    Wiz

    phpAfterShell and Critical PHP RCE Vulnerabilities: Everything You Need To Know
    “On November 19, 2026, the PHP group published security updates addressing 17 vulnerabilities across all actively supported branches (PHP 8.2, 8.3, 8.4, and 8.5).”
  5. 5

    Cloudflare Blog

    How Cloudflare WAF helps protect against phpAfterShell and other critical PHP flaws
    “On November 19, 2026, the security research company depthfirst disclosed phpAfterShell (CVE-2026-126714), a vulnerability in PHP's default file-based session handler that can lead to remote…”

Reports about Memory corruption

View all

Disclosed reports of the same bug class, clearest first.

More news

View all

Other stories from the last month, Memory corruption first.