{"id":"CVE-2026-129496","published":"2026-11-19T14:43:52Z","modified":"2026-11-20T04:56:37Z","title":"Timezone cache use-after-free can lead to remote code execution","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"Timezone cache use-after-free can lead to remote code execution.\n\nIn 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.\n\nThis 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.2,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.08139,"percentile":0.94927,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"},{"id":"CWE-459","name":"Incomplete Cleanup"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-gr4f-wgx5-jpfv","tags":["vendor-advisory"]}],"priority":{"score":30.4,"factors":[{"name":"EPSS percentile","points":18.99},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.44}]},"exploitSources":{"pocGithub":{"count":4,"skipped":0,"earliest":"2026-11-19","earliestUrl":"https://github.com/abraxas/php-tzcache-rce","repos":[{"name":"abraxas/php-tzcache-rce","url":"https://github.com/abraxas/php-tzcache-rce","stars":7,"created":"2026-11-19"},{"name":"evenomn/CVE-2026-129496","url":"https://github.com/evenomn/CVE-2026-129496","stars":0,"created":"2026-11-23"},{"name":"cveForge/CVE-2026-129496","url":"https://github.com/cveForge/CVE-2026-129496","stars":0,"created":"2026-11-23"},{"name":"googlesky/CVE-2026-129496","url":"https://github.com/googlesky/CVE-2026-129496","stars":0,"created":"2026-11-24"}]},"first":{"date":"2026-11-19","source":"PoC-in-GitHub","url":"https://github.com/abraxas/php-tzcache-rce"},"provenance":"source"},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":["< 8.2.36",">= 8.3.0, < 8.3.37",">= 8.4.0, < 8.4.28",">= 8.5.0, < 8.5.13"]}],"capec":[{"id":"CAPEC-123","name":"Buffer Manipulation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-19T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-130180","exploited":false,"provenance":"source"}}