{"id":"CVE-2024-11235","state":"PUBLISHED","title":"Reference counting in php_request_shutdown causes Use-After-Free","description":"In PHP versions 8.3.* before 8.3.19 and 8.4.* before 8.4.5, a code sequence involving __set handler or ??=  operator and exceptions can lead to a use-after-free vulnerability. If the third party can control the memory layout leading to this, for example by supplying specially crafted inputs to the script, it could lead to remote code execution.","publishedAt":"2025-04-04T17:51:07.550Z","updatedAt":"2026-02-26T18:28:56.191Z","severity":{"score":9.2,"label":"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/U:Amber","source":"php"},"assigner":"php","products":["PHP Group PHP"],"affected":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"unaffected","versions":[{"version":"8.4.*","status":"affected","lessThan":"8.4.5","versionType":"semver"},{"version":"8.3.*","status":"affected","lessThan":"8.3.19","versionType":"semver"}]}],"references":["https://github.com/php/php-src/security/advisories/GHSA-rwp7-7vc6-8477"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:06:50.777Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/11xxx/CVE-2024-11235.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-11235","state":"PUBLISHED","datePublished":"2025-04-04T17:51:07.550Z","dateUpdated":"2026-02-26T18:28:56.191Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2024-11-15T06:26:33.249Z"},"containers":{"cna":{"title":"Reference counting in php_request_shutdown causes Use-After-Free","descriptions":[{"lang":"en","value":"In PHP versions 8.3.* before 8.3.19 and 8.4.* before 8.4.5, a code sequence involving __set handler or ??=  operator and exceptions can lead to a use-after-free vulnerability. If the third party can control the memory layout leading to this, for example by supplying specially crafted inputs to the script, it could lead to remote code execution."}],"affected":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"unaffected","versions":[{"version":"8.4.*","status":"affected","lessThan":"8.4.5","versionType":"semver"},{"version":"8.3.*","status":"affected","lessThan":"8.3.19","versionType":"semver"}]}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-rwp7-7vc6-8477"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":9.2,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","providerUrgency":"AMBER","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","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/U:Amber","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416 Use After Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"php","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateUpdated":"2025-04-04T17:55:56.918Z"},"credits":[{"lang":"en","type":"reporter","value":"Junwha Hong"}],"datePublic":"2025-03-13T17:44:00.000Z","source":{"advisory":"https://github.com/php/php-src/security/advisories/GHSA-rwp7-7vc","discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-rwp7-7vc6-8477","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-11235","role":"CISA Coordinator","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-04-05T03:55:37.904684Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T18:28:56.191Z"}}]}}}