Skip to content

PHP

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

CVE-2026-129496Published 19 Nov 2026, 14:43 UTC

Real-world risk

1.9/ 10Low

Routine

If the vulnerable configuration applies to you: 4.3

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.2

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from php)

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

Am I affected?

ProductAffected versions (from the sources)Fixed in
PHPUbiquitous< 8.2.36; >= 8.3.0, < 8.3.37; >= 8.4.0, < 8.4.28; >= 8.5.0, < 8.5.138.2.36, 8.3.37, 8.4.28, 8.5.13

What to do

Update to a fixed version: 8.2.36, 8.3.37, 8.4.28, 8.5.13.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Public proof of concept on GitHub

EPSS 11.1% chance of exploitation in 30 days (percentile 96), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.203
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 1 × prerequisites 0.2025 × threat 0.951.924
  4. Rounded to one decimal between 0.1 and 101.9

How the score works

Exploitation and evidence timeline

  1. 19 Nov 2026 Published
  2. 3 Dec 2026 Public proof of concept on GitHub first seen
  3. 3 Dec 2026 Risk 1.9 (cvss fallback)

Weakness

CWE-416, CWE-459

References

Get alerts for PHP

Free email or text alerts when a vulnerability in PHP reaches risk 8 or higher. Nothing else.