# CVE-2024-11235: Reference counting in php_request_shutdown causes Use-After-Free

- Severity: Critical 9.2 (CVSS:4.0, scored by php) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.48%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-04T17:51:07.550Z
- Modified: 2026-09-08T08:48:18.217Z
- Also known as: BIT-LIBPHP-2024-11235, BIT-PHP-2024-11235, BIT-PHP-MIN-2024-11235, GHSA-rwp7-7vc6-8477
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: php

## 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.

(As written by CVE List.)

## Affected

- PHP Group PHP: from 8.4.* before 8.4.5; from 8.3.* before 8.3.19
- php php: from 8.3.0 before 8.3.19; from 8.4.0 before 8.4.5
- libphp (Bitnami): from 8.3.0 before 8.3.19; from 8.4.0 before 8.4.5
- php (Bitnami): from 8.3.0 before 8.3.19; from 8.4.0 before 8.4.5
- php-min (Bitnami): from 8.3.0 before 8.3.19; from 8.4.0 before 8.4.5

## Every score

- php: CVSS:4.0 9.2 Critical `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`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/php/php-src/security/advisories/GHSA-rwp7-7vc6-8477> (exploit, advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-11235> (web)

## Sources

- CVE List: [CVE-2024-11235](https://www.cve.org/CVERecord?id=CVE-2024-11235), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2024-11235](https://nvd.nist.gov/vuln/detail/CVE-2024-11235), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPHP-2024-11235](https://osv.dev/vulnerability/BIT-LIBPHP-2024-11235), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-2024-11235](https://osv.dev/vulnerability/BIT-PHP-2024-11235), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2024-11235](https://osv.dev/vulnerability/BIT-PHP-MIN-2024-11235), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-11235 · Whole record: https://cve.day/CVE-2024-11235.json · Rebuilt by cve.day 2026-11-25T22:58:52.479Z
