Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach fresh PHP worker over HTTP
-
DeliverySend request exceeding max_input_vars
-
ExploitEarly diagnostic reads freed timezone cache
-
ExecutionReuse attacker-influenced heap allocation
-
ImpactCrash 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (php).
CVSS VectorVendor: php
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 2
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-130180
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB