{"id":"CVE-2026-129496","aliases":["CVE-2026-129496","BIT-LIBPHP-2026-129496","BIT-PHP-2026-129496","BIT-PHP-MIN-2026-129496","GHSA-gr4f-wgx5-jpfv"],"related":[],"kind":"vulnerability","state":"published","title":"Timezone cache use-after-free can lead to remote code execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-19T14:43:52.930Z","modified":"2026-11-27T06:55:43.384Z","severity":{"scorer":"php","scheme":"CVSS: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","score":9.2,"rating":"CRITICAL"},"severities":[{"scorer":"php","scheme":"CVSS: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","score":9.2,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-416","CWE-459"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"8.2.36","status":"affected"},{"type":"semver","introduced":"8.3.0","fixed":"8.3.37","status":"affected"},{"type":"semver","introduced":"8.4.0","fixed":"8.4.28","status":"affected"},{"type":"semver","introduced":"8.5.0","fixed":"8.5.13","status":"affected"}],"vendor":"PHP Group","product":"PHP","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.36"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.37"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.28"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"libphp","purl":"pkg:bitnami/libphp","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.36"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.37"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.28"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"php","purl":"pkg:bitnami/php","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.36"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.37"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.28"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.13"}],"ecosystem":"Bitnami","package":"php-min","purl":"pkg:bitnami/php-min","source":"bitnami"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-gr4f-wgx5-jpfv","tags":["vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129496","tags":["web"],"sources":["bitnami"]}],"credits":["Sebastian Bergmann","kloylab","mbossard-wm","Go Kudo","Ilija Tovilo","Jakub Zelenka"],"assigner":"php","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-19T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-129496","url":"https://www.cve.org/CVERecord?id=CVE-2026-129496","licence":"CVE Terms of Use","modified":"2026-11-20T04:56:37.412Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-129496","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129496","licence":"Public domain","modified":"2026-11-20T05:18:41.503Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPHP-2026-129496","url":"https://osv.dev/vulnerability/BIT-LIBPHP-2026-129496","licence":"Apache-2.0","modified":"2026-11-27T06:55:43.384Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-2026-129496","url":"https://osv.dev/vulnerability/BIT-PHP-2026-129496","licence":"Apache-2.0","modified":"2026-11-27T06:55:43.384Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-MIN-2026-129496","url":"https://osv.dev/vulnerability/BIT-PHP-MIN-2026-129496","licence":"Apache-2.0","modified":"2026-11-27T06:45:40.231Z"}],"updatedAt":"2026-11-27T07:07:27.939Z","epss":{"score":0.11073,"percentile":0.96018,"date":"2026-12-01T12:00:22.000Z"}}