{"id":"CVE-2026-129496","summary":"Timezone cache use-after-free can lead to remote code execution","details":"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.","aliases":["GHSA-gr4f-wgx5-jpfv"],"modified":"2026-11-25T01:00:51.295869855Z","published":"2026-11-19T14:43:52.930Z","related":["ALSA-2026:100821","ALSA-2026:100991","ALSA-2026:101276","ALSA-2026:102226","ALSA-2026:102255","ALSA-2026:102261","ALSA-2026:102300","SUSE-SU-2026:5389-1","SUSE-SU-2026:5390-1","SUSE-SU-2026:5398-1","SUSE-SU-2026:5399-1","openSUSE-SU-2026:12618-1"],"database_specific":{"cwe_ids":["CWE-416","CWE-459"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129496.json","cna_assigner":"php"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129496.json"},{"type":"ADVISORY","url":"https://github.com/php/php-src/security/advisories/GHSA-gr4f-wgx5-jpfv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129496"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"0"},{"fixed":"bbc92cfe9a4f00a72bff5766b17842b0425b0050"},{"introduced":"d26068059e83fe40de3430a512471d194119bee0"},{"fixed":"ab4b18847bcc7bd11eaafb557ad8ba43410a4dc8"},{"introduced":"b437f2b32eb364c9496d24abcc734272e5c9c980"},{"fixed":"6c4c8ecd1c66f2eaa7cadc893bb303a0cdf896c1"},{"introduced":"685e99655ae97c667950f7f7d176985958718f56"},{"fixed":"46bcb661df53d9ded93fef239e15707bf7cea2e9"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"8.2.36"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"8.3.0"},{"fixed":"8.3.37"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"8.4.0"},{"fixed":"8.4.28"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"strategy":"StandardRange","range":[{"introduced":"8.5.0"},{"fixed":"8.5.13"}],"source":"AFFECTED_FIELD"}]}}],"versions":["php-8.3.34","security-audit-2024","POST_PHP7_NSAPI_REMOVAL","PRE_PHP7_NSAPI_REMOVAL","PRE_PHP7_EREG_MYSQL_REMOVALS","PRE_PHP7_REMOVALS","POST_PHP7_REMOVALS","POST_AST_MERGE","PRE_AST_MERGE","POST_64BIT_BRANCH_MERGE","PRE_64BIT_BRANCH_MERGE","POST_PHPNG_MERGE"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-129496.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}