{"schemaVersion":3,"id":"CVE-2024-11235","aliases":["UBUNTU-CVE-2024-11235","DEBIAN-CVE-2024-11235"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-04-04T17:51:07.550Z","modified":"2026-02-26T18:28:56.191Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.2,"severity":"critical","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.2,"severity":"critical","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":9.2,"severity":"critical","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.2,"severity":"critical","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01482,"percentile":0.73568,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.025000000000000022,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01457},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01482,"percentile":0.73568}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01457,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01482,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01482,"percentile":0.73568}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PHP_PHP-SRC","name":"Php Src","source":"github","url":"https://github.com/php/php-src/commit/fb58e69a84f4fde603a630d2c9df2fa3be16d846","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"debian","product":"php8.4","name":"php8.4","label":"php8.4","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php8.4","purlType":"deb","versions":[{"text":"< 8.4.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.4.5-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php5","name":"php5","label":"php5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php7.2","name":"php7.2","label":"php7.2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php7.2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php7.4","name":"php7.4","label":"php7.4","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php7.4","purlType":"deb","versions":[{"text":"< 7.4.3-4ubuntu2.29","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.4.3-4ubuntu2.29","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php8.1","name":"php8.1","label":"php8.1","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php8.1","purlType":"deb","versions":[{"text":"< 8.1.2-1ubuntu2.21","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.2-1ubuntu2.21","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php8.3","name":"php8.3","label":"php8.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php8.3","purlType":"deb","versions":[{"text":"< 8.3.6-0ubuntu0.24.04.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.3.6-0ubuntu0.24.04.4","eol":null,"hubHref":null},{"vendor":"php_group","product":"php","name":"PHP","label":"php","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.4.*, < 8.4.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.3.*, < 8.3.19","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.4.*, < 8.4.5 | ≥ 8.3.*, < 8.3.19","eol":null,"hubHref":"/vendor/php_group/php"},{"vendor":"php","product":"php","name":"PHP","label":"php","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.3.0, < 8.3.19","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.4.0, < 8.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.3.0, < 8.3.19 | ≥ 8.4.0, < 8.4.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"php","label":"PHP","category":"lang"}},"hubHref":"/vendor/php/php"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-rwp7-7vc6-8477","label":"github.com/php/php-src/security/advisories/GHSA-rwp7-7vc6-8477","hostname":"github.com","tags":["REPORT","Exploit","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-11235","label":"ubuntu.com/security/CVE-2024-11235","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-11235","label":"www.cve.org/CVERecord?id=CVE-2024-11235","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/php/php-src/commit/ef2c459941b5ffae501e5311f5ac2041aadbe461","label":"github.com/php/php-src/commit/ef2c459941b5ffae501e5311f5ac2041aadbe461","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7400-1","label":"ubuntu.com/security/notices/USN-7400-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-11235","label":"security-tracker.debian.org/tracker/CVE-2024-11235","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:14895-1","RHSA-2025:7418","RHSA-2025:7489","SUSE-SU-2025:0994-1","SUSE-SU-2025:1012-1","SUSE-SU-2025:1025-1","SUSE-SU-2025:1026-1","USN-7400-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:14895-1","SUSE-SU-2025:0994-1","SUSE-SU-2025:1012-1","SUSE-SU-2025:1025-1","SUSE-SU-2025:1026-1","USN-7400-1"]},"timeline":[{"kind":"published","date":"2025-04-04T17:51:07.550Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-26T18:28:56.191Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:12:22.101Z","stale":false,"partial":false}}