{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-129496","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","state":"PUBLISHED","assignerShortName":"php","dateReserved":"2026-11-15T16:49:41.929Z","datePublished":"2026-11-19T14:43:52.930Z","dateUpdated":"2026-11-20T04:56:37.412Z"},"containers":{"cna":{"title":"Timezone cache use-after-free can lead to remote code execution","datePublic":"2026-11-19T00:00:00.000Z","descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>Timezone cache use-after-free can lead to remote code execution.</p><p>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.</p><p>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.</p>"}]}],"affected":[{"vendor":"PHP Group","product":"PHP","cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"],"packageURL":"pkg:software-id/php.net/php","modules":["ext-date"],"versions":[{"version":"0","lessThan":"8.2.36","status":"affected","versionType":"semver"},{"version":"8.3.0","lessThan":"8.3.37","status":"affected","versionType":"semver"},{"version":"8.4.0","lessThan":"8.4.28","status":"affected","versionType":"semver"},{"version":"8.5.0","lessThan":"8.5.13","status":"affected","versionType":"semver"}],"defaultStatus":"unaffected"}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-416","description":"CWE-416 Use After Free"}]},{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-459","description":"CWE-459 Incomplete Cleanup"}]}],"impacts":[{"capecId":"CAPEC-123","descriptions":[{"lang":"en","value":"CAPEC-123 Buffer Manipulation"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.2,"baseSeverity":"CRITICAL","vectorString":"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"}}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-gr4f-wgx5-jpfv","tags":["vendor-advisory"]}],"source":{"advisory":"GHSA-gr4f-wgx5-jpfv","discovery":"UNKNOWN"},"credits":[{"lang":"en","type":"reporter","value":"Sebastian Bergmann"},{"lang":"en","type":"reporter","value":"kloylab"},{"lang":"en","type":"reporter","value":"mbossard-wm"},{"lang":"en","type":"reporter","value":"Go Kudo"},{"lang":"en","type":"remediation developer","value":"Ilija Tovilo"},{"lang":"en","type":"remediation reviewer","value":"Jakub Zelenka"}],"x_generator":{"engine":"php-security-response"},"providerMetadata":{"orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","shortName":"php","dateUpdated":"2026-11-19T19:37:11.243Z"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-19T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-129496"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-20T04:56:37.412Z"}}]}}