Skip to main content

PHP EUVDEUVD-2026-130180

| CVE-2026-129496 CRITICAL
Use After Free (CWE-416)
2026-11-19 php
9.2
CVSS 4.0 · Vendor: php
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach fresh PHP worker over HTTP
  2. Delivery
    Send request exceeding max_input_vars
  3. Exploit
    Early diagnostic reads freed timezone cache
  4. Execution
    Reuse attacker-influenced heap allocation
  5. Impact
    Crash worker or execute code as worker

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a specific deployment profile: a non-thread-safe PHP build; PHP configured to send errors to a file via the file-based error_log path (FPM's own error log does NOT satisfy this); a startup-time diagnostic emitted late in module startup - confirmed examples are an invalid date.timezone value or a session-configuration warning/deprecation; and then an early first-request diagnostic in a fresh worker, such as the max_input_vars warning produced by a crafted request. Limiting factors that reduce real-world risk: the vulnerable window lasts only until a worker completes its first normal request (newly created or recycled workers re-enter it); authentication is not required (PR:N) but the attacker does not control the startup diagnostic, which must already be present via misconfiguration or deprecated settings; and the demonstrated code-execution chains additionally needed known runtime addresses, a suitable heap layout, and an Authorization header larger than nginx's default per-header limit, with one FPM chain also requiring auto_globals_jit=0 and cookies in request_order (the Apache cleanup-path chain did not need those). These configuration dependencies are conditions of the demonstrated exploits, not of the underlying memory-corruption flaw, and ASLR remained enabled in the proofs.

Impact

The source CVSS 4.0 score of 9.2 (Critical) with AV:N/PR:N/UI:N and VC:H/VI:H/VA:H frames this as an unauthenticated remote code-execution flaw, and the vuln.today Decision label is act_now, so it should be treated as high urgency. However, the vector itself tempers raw severity: AC:H and AT:P signal that successful exploitation depends on conditions the attacker does not fully control - a qualifying startup diagnostic routed through PHP's file-based error_log, a non-thread-safe build, a fresh worker, and (for code execution) known runtime addresses and a specific heap layout. KEV status is not indicated in the input and no EPSS probability was provided, so widespread automated exploitation cannot be confirmed from the data. The advisory states code execution was demonstrated by researchers only locally (FPM and mod_php) with known addresses and extra configuration, while remote worker crashes (DoS) were shown with default max_input_vars and ordinary nginx limits - so the realistic remote outcome today is denial of service, with RCE plausible but not shown to be a turnkey remote capability. Net: a genuine priority for deployments matching the misconfiguration profile, but the AC:H/AT:P prerequisites make it less of a spray-and-pray, drop-everything emergency than the bare 9.2 suggests. Missing signal to flag: no EPSS and no KEV confirmation in the provided data.

Exploit ScenarioDerived

On a non-thread-safe PHP deployment that logs errors to a file and emits a qualifying startup diagnostic (for example an invalid date.timezone value or a session-config deprecation), an unauthenticated attacker sends a crafted HTTP request to a fresh FPM, Apache mod_php or CGI worker that exceeds max_input_vars, triggering a diagnostic that reads a freed timezone cache now holding attacker-influenced request data. This reliably crashes the worker, and the vendor advisory reports that arbitrary code execution was demonstrated locally in FPM and mod_php using known memory addresses and additional configuration. No public exploit code was identified in the provided references, though the advisory documents working researcher proofs that were not released.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) Patch available 10.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

Use-after-free in PHP's timezone cache lets unauthenticated remote attackers crash PHP-FPM, Apache mod_php or CGI workers, and native command execution has been demonstrated locally in FPM and mod_php when runtime addresses are known. Affected are PHP 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 on non-thread-safe builds that route diagnostics through a file-based error_log; the required startup diagnostic (for example an invalid date.timezone or a session configuration warning) and the early request diagnostic (such as the max_input_vars warning) must both be present. No public exploit code identified at time of analysis - the code-execution chains are the vendor's own local proofs requiring known addresses, a suitable heap layout and larger-than-default Authorization headers - yet the source CVSS 4.0 score of 9.2 and the vuln.today act_now decision put this in the high-urgency bucket for exposed FPM/mod_php estates.

RemediationAI

Vendor-released patch: upgrade to PHP 8.2.36, 8.3.37, 8.4.28 or 8.5.13 (per branch) - the fix moves error-log timestamp formatting to UTC outside a fully initialized active request; see the GHSA advisory at https://github.com/php/php-src/security/advisories/GHSA-gr4f-wgx5-jpfv. Where the upgrade cannot be applied immediately, the vendor's interim guidance is to correct the configuration errors and deprecated settings that produce startup diagnostics (notably an invalid date.timezone and session configuration warnings), then restart the PHP master process and all workers so no process carries the stale timezone-cache reference; note that a restart alone re-opens the window for any remaining startup diagnostic. Routing PHP errors to a logging destination that does not use this file-timestamp path, such as syslog, also avoids the demonstrated trigger. Changing $_REQUEST or cookie settings is not a complete mitigation, and the demonstrated Apache cleanup path - request startup failing before the cache is reset, e.g. a POST exceeding a 2 MB PHP memory limit - does not depend on those settings at all.

Affected VersionsENISA

PHP 8.3.0 <8.3.37
PHP 8.5.0 <8.5.13
PHP 8.4.0 <8.4.28
PHP 8.2.0 <8.2.36

Affected Packages

euvd php fix: 8.2.36, 8.3.37, 8.4.28, 8.5.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PHP writes file-based error_log lines with a timestamp formatted in the configured timezone, which ties error logging to the date extension's timezone cache. In a non-thread-safe (NTS) build, a diagnostic emitted late in module startup - an invalid date.timezone value or a session-configuration warning/deprecation are the confirmed examples - causes the timezone cache to be allocated in temporary startup memory that is released at the end of startup, while the internal reference to that cache survives until the date extension initializes the first request. A diagnostic raised earlier in the first request of a worker, canonical example being the max_input_vars warning triggered by a crafted request, then dereferences the freed hash table, whose released memory may already contain attacker-controlled request data. This is CWE-416 (use-after-free) combined with CWE-459 (incomplete cleanup), and the affected component is php/ext-date. FPM and Apache mod_php workers can inherit the stale reference from the parent process, so the vulnerable window persists until a worker completes its first normal request and re-opens for newly created or recycled workers; CGI was also reproduced. Critically, FPM's own error log does not by itself satisfy the trigger - errors must actually flow through PHP's file-based error_log path. The upstream fix formats error-log timestamps in UTC outside a fully initialized active request, so request-local timezone state is no longer used at unsafe lifecycle points.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (php) PRIMARY 9.2 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Remote and unauthenticated (AV:N/PR:N/UI:N) but AC:H because it needs a qualifying startup diagnostic, file error_log, a fresh worker and a specific heap state; full C/I/A impact from demonstrated RCE.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (php).

CVSS VectorVendor: php

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 19, 2026 - 16:18 EUVD
CVE Published
Nov 19, 2026 - 14:43 cve.org
CRITICAL 9.2

DescriptionCVE.org

Timezone cache use-after-free can lead to remote code execution.

In non-thread-safe builds, a diagnostic written to a file-based error_log during module startup, for example for an invalid date.timezone value or a session configuration warning, causes the timezone cache to be allocated in startup memory that is freed while a reference to it is kept. A diagnostic raised early in the first request of a worker, such as the max_input_vars warning, then accesses the freed cache. On such a deployment an unauthenticated remote attacker can crash PHP-FPM, Apache mod_php or CGI workers with a crafted request. Arbitrary code execution may be possible and has been demonstrated with known memory addresses.

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.

Technical POC Analysis

Class: CWE-416, use-after-free.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-129496 is a critical vulnerability in PHP that can crash web workers and, under specific local conditions, enable remote code execution, affecting business-critical web applications and services. Leadership should prioritize remediation because unpatched PHP deployments are common and exploitation could lead to service outages or full system compromise, impacting customers and revenue.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable file-based error_log (route to syslog), eliminate startup diagnostic triggers (e.g., set a valid date.timezone, fix session config warnings), enforce strict limit on Authorization header size, and deploy WAF to inspect and block oversized or malicious headers; consider network segmentation for PHP-FPM/mod_php services.

Threat Intelligence Overview

EPSS Score
10.0%
Top 4% exploitable
Prevalence
Ubiquitous
PHP runs on a huge fraction of production web servers worldwide
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment NEWS MSRC GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 10.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

76
Low Medium High Critical
KEV: 0
EPSS: +10
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy